Manage CRON tasks¶
Helpful feature for making crons
We recommend using crontab.guru editor for cron schedule expressions, if you know what you do.
Adding cron task¶
MyCloud functionality allows you to manage your project's active cron tasks via the Scheduler menu. To add or remove a scheduled job select the required project in the MyCloud Dashboard, find Scheduler () in the Server settings branch and open it, insert a cron command in the Command () field and select the required frequency from the suggested options () or specify another frequency in the appeared field by checking the Custom radio button (). When all the parameters are set up, click Add new scheduled job () — done , the cron job is added to the server configuration.
Recommended way of cron recording
We recommend using a secure and correct way to add a cron task:
/usr/bin/php /srv/projects/example.com/public_html/admin_or_crontask.php --dispatch=some.dispatch_name --cron_password=s0m3S3cur3P4ssw0rd
Active cron tasks management¶
Every added cron task appears in the Scheduled Jobs list where you can see the Frequency () of the cron task, the Command () itself. You can also delete a cron task if it is no longer required by clicking Remove ().
If you have a problem, need assistance with tweaks or a free consultation, if you just want to discuss your project with experts and estimate the outcome, if you're looking for a solution that reinforces your online business, we will help. Let us know through MyCloud.