#jobs and tasks

4 messages · Page 1 of 1 (latest)

acoustic cloak
#

how do you get jobs to run at a certain time e.g. once a week? I have been reading the docs about tasks but I'm a bit confused with triggering them (unless it's the result of an action e.g. clicking submit)

true salmonBOT
dusky arch
#

You can create a script and run it using cron or use the payload command (for example "npx payload jobs:run --cron "*/5 * * * *"")