Comment on More dynamic cronjobsComments−dherls8moI would definitely recommend not putting complex logic like this in your cron definitions. Much more annoying to find and debug in the future. I prefer to write a short wrapper script that contains the test logic instead and track/version control it−zbentley8moGood advice. You can also check in and version your crontabs (or timer units or whatnot) directly.
Comments
I would definitely recommend not putting complex logic like this in your cron definitions. Much more annoying to find and debug in the future. I prefer to write a short wrapper script that contains the test logic instead and track/version control it
Good advice. You can also check in and version your crontabs (or timer units or whatnot) directly.