To list the crontab entries:
#crontab -l
To edit the crontab entries:
#crontab -e
To copies the entries of crontab to crontab.txt file:
#crontab -l > crontab.txt
To remove all crontab entries:
#crontab -r
To list the submission time:
#crontab -v
File containing users who allowed cron service:
#/var/adm/cron/cron.allow
File containing users denied cron service:
#/var/adm/cron/cron.deny
To list the jobs scheduled via at command:
#at -l
To remove the scheduled job root.dofsdofsd.69:
#at -r root.dofsdofsd.69
File containing users who allowed at service:
#/var/adm/cron/at.allow
File containing users denied at service:
#/var/adm/cron/at.deny
To run the command when the system load permits:
#batch
To list all the jobs submitted by user gzuser:
#atq gzuser
To 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