Is there a tool or scripting language that will allow me to generate crontab syntax output after providing a user-friendly specification or initialization file?
For instance:
when: every 2 hours
what: system('/path/to/flush_system_logs')
when: 4:45pm every Wednesday
what: system('/path/to/system_janitor_script')
I would like to provide such a specification and either have a process that can execute cron from the specification, or create a crontab file that is in sync with the specification.
source
share