Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
03 10,22 1 * * /path/to/my_script.sh

would execute /path/to/my_script.sh on the first day of every month, at 10:03 and 22:03. You may check man 5 crontab for all the details on the syntax and possible options to customise your cron jobs.

Note
titleLimited environment

Cron tasks run with a very limited user environment. No user profile will be sourced by cron to run before running your task. Unless the task is very lightweight, please consider running your cron tasks through batch as described below

...