create_cron
Schedule recurring commands on a server using cron expressions, such as running a Laravel scheduler every minute.
Instructions
Create a cron job on a server, e.g. the Laravel scheduler 'php /path/artisan schedule:run' at frequency '* * * * *'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | Yes | The ID of the server | |
| command | Yes | The command to run, e.g. 'php /home/ploi/app/artisan schedule:run' | |
| frequency | Yes | A cron expression, e.g. '* * * * *' (every minute, the Laravel scheduler) | |
| user | No | The system user to run as (default 'ploi') |