Friday 31 August 2012

Scheduling commands

Scheduling commands :

crontab -l                                               To list the crontab entries

crontab -e                                              To edit the crontab entries

crontab -l > /si                                      To copies the entries of crontab to /si file

crontab -r                                              To remove all crontab entries

crontab -v                                             To list the submission time

/var/adm/cron/cron.allow                  File containing users who allowed cron service

/var/adm/cron/cron.deny                  File containing users denied cron service

at -l                                                         To list the jobs scheduled via at command

at -r  root.dfjdhjdh.21                         To remove the scheduled job root.dfjdhjdh.21

/var/adm/cron/at.allow                      File containing users who allowed at service

/var/adm/cron/at.deny                       File containing users denied at service

batch                                                      To run the command when the system load permits

atq  joe                                                  To list all the jobs submitted by user joe

No comments:

Post a Comment