Scheduler (cron)
ISPmanager allows automatic execution of scheduled jobs using Cron. Cron is a daemon that executes commands at specified intervals. Cron jobs are scheduled tasks (commands) that are executed by such daemon at predefined times. A cron job is a series of simple tasks run from a script.
To open the scheduler, log in with a user account and enter Main → Scheduler.
To create a new scheduler task, press Create and fill in the form fields: Run — select when you want to execute the cron job. expert mode — this mode allows you to select more accurate values. To check any of the cron jobs, select the one you need from the list and click Run. In the window that will appear you will see the cron job results. With this function, you may customize the global cron jobs. Select the required cron job, click the Settings icon and fill out the form: How to add execution of the PHP script. For example, the path to the script /var/www/user/data/www/domain.com/script.php Call the script by passing it to the interpreter: To find out the path to php, run the command: Call the script through wget: To find out the path to wget, run the command:Viewing the scheduler task list
Add a cron job
Run cron job
Global settings
Additional information
/usr/bin/php /var/www/user/data/www/domain.com/script.php
whereis php
/usr/bin/wget domain.com/script.php
whereis wget