Friday, 18 March 2011

Cron Tab

Cron Tab:

-->to execute a command for particular time.
#crontab -u username -e
Example:
#crontab -u root -e

min hr day of month month day of week
01 20 22 08 08

Example:

tar -cvf /root/backup/home /home
service crond restart


crond -l
-->it will be displayed to what information available in crond file.

Shut down to the Machine at Everyday:
min hr day of month month day of week
01 20 * * *
/sbin/init 0
service crond restart
service crond on



Note:

Package Name: crontaps

No comments:

Post a Comment