Editing Scheduled Tasks: crontab -e

Viewing current cron jobs: crontab -l

Basic Format

*    *    *    *    *    command
|    |    |    |    |    |
|    |    |    |    |    +-- Command to be executed
|    |    |    |    +------- Day of the week (0 - 6) (Sunday=0)
|    |    |    +------------ Month (1 - 12)
|    |    +----------------- Day of the month (1 - 31)
|    +---------------------- Hour (0 - 23)
+--------------------------- Minute (0 - 59)

Explanation

Example of scheduling a URL request

00 03 * * * /usr/bin/curl <http://crmpay.com/mpdown>

💡 Note: Be sure to include the full path /usr/bin/curl.

Applications

crontab options:

crontab [-u username] 
// Omitting the username implies operating on the current user's crontab.