Skip to content
  1. Extras
  2. CronTabManager
  3. Interface

Interface

Add job — controller

Via the controller script:

Add job — snippet

Create a snippet that will run automatically and attach it to a cron job:

Snippet content

php
<?php
echo "Test" . PHP_EOL;

return 0; # Error
return 1; # Success

For the job to complete successfully, the snippet must return return 1;; otherwise the cron job will be marked as failed.