cron

Command Description
crontab The cron service can be used to schedule file execution at specific times. The server daemon executes commands at specified dates and times based on the entries in the cron jobs table. The service can be managed via the /etc/init.d/crond interface, and the cron tables managed via crontab.
Syntax
crontab [options] file
crontab [options]
crontab -n [hostname]
Option Description
-u <user> Define user.
-e Edit user's crontab.
  • Each line can contain one command to run.
  • The following format is used: minute hour day-of-month month day-of-week command.
  • When finished, save and close the crontab file.
-l List user's crontab.
-r Delete user's crontab.
-i Prompt before deleting.
-n <host> Set host in cluster to run users' crontabs.
-c Get host in cluster to run users' crontabs.
-x <mask> Enable debugging.
Related Command Description
/etc/init.d/crond start To start the crond service.
/etc/init.d/crond stop To stop the crond service.
/etc/init.d/crond restart To restart the crond service.
/etc/init.d/crond status To verify the current crond status.