Linux: Is there an easy to use cron for common requirements?
At least on RedHat-based system you an make a script a drop it into
one of these folders:
And make it executable:
chmod a+x myscript
There are so many good things about doing it this way.
- Each package can have its one script
- When you remove the package the script is also removed
- Really simple to use, no numbers or syntax to schedule.
- The scripts are run in alphabetical order so you can easily make
your run first or last.
But, of course, there are scheduling requirements this folders don't handle.