Answers for "check if cron job is running"

3

linux check cronjob log

grep CRON /var/log/syslog
Posted by: Guest on August-04-2020
1

how to check cron is running or not

$ systemctl status cron              # checks if cron is running

$ sudo systemctl enable cron.service # enable cron to run on boot
$ sudo systemctl start cron.service  # start cron now

$ sudo crontab -l                    # show all currently running cron jobs 
$ sudo crontab -u panda -l           # show all cron jobs running for user panda
Posted by: Guest on July-15-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language