Here's a crontab example that shows how to run a command from the cron daemon once every day
0 1 * * * /var/www/backup.sh
crontab: invalid option -- -
crontab: usage error: unrecognized option
usage: crontab [-u user] file
crontab [-u user] [ -e | -l | -r ]
(default operation is replace, per 1003.2)
-e (edit user's crontab)
-l (list user's crontab)
-r (delete user's crontab)
-i (prompt before deleting user's crontab)
| Linux Command log< Prev | Next >Linux find command |
|---|


