To list the crontab entries:
#crontab -lTo edit the crontab entries:
#crontab -eTo copies the entries of crontab to crontab.txt file:
#crontab -l > crontab.txtTo remove all crontab entries:
#crontab -rTo list the submission time:
#crontab -vFile containing users who allowed cron service:
#/var/adm/cron/cron.allowFile containing users denied cron service:
#/var/adm/cron/cron.denyTo list the jobs scheduled via at command:
#at -lTo remove the scheduled job root.dofsdofsd.69:
#at -r root.dofsdofsd.69File containing users who allowed at service:
#/var/adm/cron/at.allowFile containing users denied at service:
#/var/adm/cron/at.denyTo run the command when the system load permits:
#batchTo list all the jobs submitted by user gzuser:
#atq gzuserTo start a job with at:
#at now [font=Verdana][color=green]<- [ENTER][/color][/font]
/some/script.sh [font=Verdana][color=green]<- [ENTER][/color][/font]
[font=Verdana][color=green]<- CTRL+d[/color][/font]
job 4 at Sat Oct 15 21:15:00 2011
#
How to list your background jobs:
core:~# jobs
[1] Running sleep 1000 &
[2] Running sleep 1000 &
[3]- Running sleep 1000 &
[4]+ Running sleep 1000 &
How to kill a background job:
core:~# kill %2
[2] Terminated sleep 1000
- Log in to post comments
- 17711 views