Jose Diaz-Gonzalez
3f8c868ab8
fix: ensure the concurrency policy is propagated when running a cron command directly
2025-11-13 01:53:33 -05:00
Jose Diaz-Gonzalez
c56110b3a7
fix: do not print errors twice
2025-11-13 01:52:08 -05:00
Corey Taylor
983115c827
Add test for cron concurrency policy
2025-11-10 03:11:08 -05:00
Jose Diaz-Gonzalez
3638399726
fix: parse cronID correctly
2025-11-10 01:56:59 -05:00
Jose Diaz-Gonzalez
f99e3a6c9c
feat: add ability to suspend and resume a cron task by ID
...
This takes advantage of the properties system and allows users to suspend/resume the task at will.
2025-11-09 23:16:38 -05:00
Jose Diaz-Gonzalez
791f53ab47
refactor: rename command to task in cron code
2025-11-07 22:41:00 -05:00
Jose Diaz-Gonzalez
82cab643a8
chore: standardize on cron task vs any other naming
2025-11-07 22:36:00 -05:00
Jose Diaz-Gonzalez
3915d25d84
refactor: rename cron entry to cron task
...
This naming better suits what it is we are fetching.
2025-11-07 22:30:54 -05:00
Jose Diaz-Gonzalez
7adeee7086
feat: add ability to list global cron tasks
...
Closes #7732
2025-09-14 04:38:19 -04:00
Jose Diaz-Gonzalez
4ae9cca6f1
feat: implement app-json-is-valid plugin trigger
2025-06-19 02:20:02 -04:00
Jose Diaz-Gonzalez
398a78b2f6
refactor: move cron-write to scheduler-cron-write
2025-06-10 21:45:08 -04:00
Jose Diaz-Gonzalez
0f4b5d4305
fix: continue including maintenance mode cron tasks in the cron:list subcommand
2025-06-08 22:34:47 -04:00
Jose Diaz-Gonzalez
e1af6ad1f9
fix: ensure all report subcommands exit 0 when there is no app
...
Closes #7454
2025-02-02 01:37:20 -05:00
Jose Diaz-Gonzalez
bb5ab0a777
refactor: use CallPlugnTrigger instead of PlugnTrigger
...
Refs #6422
2024-03-14 03:11:37 -04:00
Jose Diaz-Gonzalez
5ffbcf24de
fix: always set -- on docker run commands internally to avoid parsing flags on specified commands
2024-01-18 21:00:42 -05:00
Jose Diaz-Gonzalez
c23e878e7d
feat: add the ability to specify a custom mailto for all cron output
2023-10-15 20:25:09 -04:00
Jose Diaz-Gonzalez
b8b40ac672
fix: do not pass an empty argument to scheduler-run when triggering cron tasks manually
2023-08-26 15:19:12 -04:00
Jose Diaz-Gonzalez
515994c8d3
feat: add the ability to execute a cron task on the fly
...
Closes #4904
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
820883e60c
feat: add json format output to cron:list command
...
This makes it easier to parse output in a machine-readable format - such as when interacting with cron tasks via jq for writing tests.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
afc318526c
refactor: move crontab writing code to scheduler-docker-local plugin
...
The implementation was very heavily docker-local specific and thus didn't make a ton of sense to keep in the cron plugin.
This also re-introduces changes from #5908 to parallelize the crontab generation (which is also specific to the docker-local scheduler) that were lost during a rebase.
The impetus for this change was implementing a `cron:run` command. The logic for actually running the command isn't scheduler specific - merely invoking `dokku run` with the appropriate arguments - but all the logic around how the commands were retrieved were, so the change was made pre-emptively.
2023-08-05 10:58:57 -04:00
Jose Diaz-Gonzalez
033b0952dd
feat: allow formatting :report command output as json
2021-02-01 22:23:30 -05:00
Jose Diaz-Gonzalez
f7ef14d737
feat: add initial scheduled task implementation
...
This functionality enables users to manage a global crontab for the Dokku user that contains all scheduled tasks across all apps. Alternative schedulers can implement cron tasks as desired.
2021-01-20 14:49:48 -05:00