Answer the question
In order to leave comments, you need to log in
[[+content_image]]
How to check CRON?
Installed in CentOS 7 cron, but nothing works and no logs.
Somewhere I read about such a command, I don’t know why this is, but it can help you understand.
[[email protected] html]# ps -ef | grep cron | grep -v grep
root 10472 10123 0 10:20 pts/0 00:00:00 crontab -e
root 10473 10472 0 10:20 pts/0 00:00:00 /usr/bin/vi /tmp/crontab.s6L4AK
root 10778 1 0 10:32 ? 00:00:00 /usr/sbin/crond -n
root 12749 10123 0 13:46 pts/0 00:00:00 crontab -e
root 12750 12749 0 13:46 pts/0 00:00:00 /usr/bin/vi /tmp/crontab.l4zzII
root 12827 10123 0 13:55 pts/0 00:00:00 crontab -e
root 12828 12827 0 13:55 pts/0 00:00:00 /usr/bin/vi /tmp/crontab.Qd3ajT
root 13171 10123 0 14:20 pts/0 00:00:00 crontab -e
root 13172 13171 0 14:20 pts/0 00:00:00 /usr/bin/vi /tmp/crontab.GSGuwd
root 13233 10123 0 14:25 pts/0 00:00:00 crontab -e
root 13234 13233 0 14:25 pts/0 00:00:00 /usr/bin/vi /tmp/crontab.vnG16E
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
* * * * * root /var/www/html/artisan schedule:run >> /dev/null 2>&1
* * * * * root /var/www/html/artisan schedule:run >> /dev/null 2>&1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question