Cronjob Not running on a specific user

hossein

Active Member
Mar 23, 2014
32
0
56
cPanel Access Level
Root Administrator
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 :

[[email protected] ~]# sestatus
SELinux status: disabled
[[email protected] ~]#




[[email protected] ~]# 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)






[[email protected] ~]# /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 .
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
10,360
1,632
363
cPanel Access Level
Root Administrator
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.
 
  • Like
Reactions: hossein

hossein

Active Member
Mar 23, 2014
32
0
56
cPanel Access Level
Root Administrator
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 .