DEV Community

Aravinthan
Aravinthan

Posted on

Linux - Job Schedule Commands

Linux - Job Schedule Commands

This is Part 10 of the Linux CLI Commands series.

πŸ‘‰ Previous: Linux - File Transfer Commands
πŸ‘‰ Next: Linux - Searching Commands

Job Schedule Commands

jobs -- to find the running jobs
sleep 5s & -- to run backround
bg -- see backround running process
fg -- restart a stopped job
jobs -l -- list jobs
jobs -r -- show running jobs
jobs -s -- to stop jobs
nohup date -- create a file called nohup.out and store the date output into that file
crontab -- is a long running process that execute commands at a specific date and time
crontab -e -- to create a crontab
crontab -l -- to list crontab
crontab -r -- to remove crontab

Note: min hor date month week /file/path > output.file

Top comments (0)