Script - Scheduler: различия между версиями
Нет описания правки |
Нет описания правки |
||
| (не показана 1 промежуточная версия этого же участника) | |||
| Строка 1: | Строка 1: | ||
[[Script_-_Scheduler|en]] | [[Скрипт_-_Планировщик|ru]] | [[Script_-_Scheduler|en]] | [[Скрипт_-_Планировщик|ru]] | ||
== In USERSIDE versions 3.18 and later == | |||
Requires adding a script to the system cron (/etc/cron.d/userside) to run every minute. | |||
Example: | |||
* * * * * www-data php /var/www/userside/run cron > /dev/null 2>&1 | |||
== In USERSIDE versions 3.11 and later == | == In USERSIDE versions 3.11 and later == | ||
| Строка 9: | Строка 17: | ||
* * * * * www-data php /var/www/userside/userside cron > /dev/null 2>&1 | * * * * * www-data php /var/www/userside/userside cron > /dev/null 2>&1 | ||
== In versions | == In USERSIDE versions before 3.11 == | ||
''userside/script/script_cron.php'' is a script of [[Settings - Scheduler|internal scheduler]] ERP "UserSide", which allows the system to run a variety of tasks. | ''userside/script/script_cron.php'' is a script of [[Settings - Scheduler|internal scheduler]] ERP "UserSide", which allows the system to run a variety of tasks. | ||
Текущая версия от 11:28, 14 октября 2025
In USERSIDE versions 3.18 and later
Requires adding a script to the system cron (/etc/cron.d/userside) to run every minute.
Example:
* * * * * www-data php /var/www/userside/run cron > /dev/null 2>&1
In USERSIDE versions 3.11 and later
Requires adding a script to the system cron (/etc/cron.d/userside) to run every minute.
Example:
* * * * * www-data php /var/www/userside/userside cron > /dev/null 2>&1
In USERSIDE versions before 3.11
userside/script/script_cron.php is a script of internal scheduler ERP "UserSide", which allows the system to run a variety of tasks.
It is required to add the script to the system cron (/etc/cron.d/userside) to run every minute.
Example:
* * * * * www-data php /var/www/userside/userside3/script/script_cron.php > /dev/null 2>&1 * * * * * www-data php /var/www/userside/userside cron > /dev/null 2>&1
To prevent the script from outputting messages to the console when running - add "s" as a command line argument.
Example:
* * * * * www-data php /var/www/userside/userside3/script/script_cron.php s > /dev/null 2>&1