Cronjob Not running on a specific user
Hi, we have a cpanel user, that cronjobs not running on this account .
we check running cronjobs on other account with same command and it runs successfully .
Selinux is disabled :
but still cronjob not working on 1 user, but it works fine on other cpanel accounts . how we can check and fix this problem ? Thanks .
[root@fra ~]# sestatus
SELinux status: disabled
[root@fra ~]#
[root@fra ~]# grep whmcs_v723_full.zip /var/log/cron
Feb 10 23:52:02 fra CROND[55031]: (we1berh) CMD (wget https://space1.......me/~mirror/hossein/whmcs_v723_full.zip)
Feb 10 23:53:01 fra CROND[57315]: (we1berh) CMD (wget https://space1.....me/~mirror/hossein/whmcs_v723_full.zip)
Feb 10 23:54:02 fra CROND[59856]: (we1berh) CMD (wget https://space1.......me/~mirror/hossein/whmcs_v723_full.zip)
[root@fra ~]# /bin/systemctl status crond.service
? crond.service - Command Scheduler
Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2022-02-05 01:44:48 +0330; 5 days ago
Main PID: 33029 (crond)
CGroup: /system.slice/crond.service
??33029 /usr/sbin/crond -n
but still cronjob not working on 1 user, but it works fine on other cpanel accounts . how we can check and fix this problem ? Thanks .
-
Hey there! From the output you provided it looks like the "we1berh" is the working account, correct? If so, the first thing I would check on the non-working account is to access the account over SSH and see if the command runs manually there. If so, I would try setting up another cron that runs every minute, just as a test, to see if that puts anything in the logs. 0 -
Hey there! From the output you provided it looks like the "we1berh" is the working account, correct? If so, the first thing I would check on the non-working account is to access the account over SSH and see if the command runs manually there. If so, I would try setting up another cron that runs every minute, just as a test, to see if that puts anything in the logs.
Hi, we1berh is the Not working account, other accounts works fine, also i test a cron for runs every minutes, but still not working . I've tested many different commands on this user and non of them works . Any Ideas to we can find why cron job not start ? Thanks .0 -
At this point it might be better to create a ticket with our team so we can check the system directly. Can you open a support ticket and then post the number here so I can follow along? 0
Please sign in to leave a comment.
Comments
3 comments