HEX
Server: Apache/2.4.63 (Unix)
System: Linux TOMS-220NAS 4.4.302+ #86009 SMP Wed Nov 26 18:19:17 CST 2025 x86_64
User: flavio87 (1026)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: /volume1/@appstore/WebStation/cron/cron_job_cmd.sh
#!/bin/bash

# get all python modules from pypi.
/var/packages/WebStation/target/tools/python_packages.sh

# get extesions of all php version.
WEBSTATION_MISC="/var/packages/WebStation/target/misc/"
/bin/wget https://raw.githubusercontent.com/mlocati/docker-php-extension-installer/master/data/supported-extensions -O "${WEBSTATION_MISC}php_extension_remote.csv.tmp"
if [ $? -eq 0 ] && [ -s "${WEBSTATION_MISC}php_extension_remote.csv.tmp" ] ; then
	mv -f "${WEBSTATION_MISC}php_extension_remote.csv.tmp" "${WEBSTATION_MISC}php_extension_remote.csv"
	chmod 644 "${WEBSTATION_MISC}php_extension_remote.csv"
fi

# get supported script language & 3rdparty package tags from docker hub.
synopkg status ContainerManager 
status=$?
if [ $status -eq 0 ]; then
	/var/packages/WebStation/target/tools/synowebservice docker get-tags
fi

exit 0