I have application with configured cron tasks. Tasks scheduler config is separated to distinct file.
Could I use same crone scheduler config to enable or disable any task by providing specific pattern?
PS. I got different parse exceptions whet trying to use values like -1, 2000, 2810 for year in the pattern. It works for year 2080, but is there any common approach to be used here?
Thanks.
Try this cron scheduler expression to effectively disable it: 0 0 0 1 1 ? 2099
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With