Hi All hope you can help i have hit a bit of a confusing issue.
I have a cron job setup on a user that does not seem to run, if I apply shell access to the user then the cron will run fine however with jailed shell or no shell it will not run. The same cron is in place on other users without shell access and runs fine on another server.
Both servers run on the same ESXi platform with the same configuration of virtual hardware
I have checked file permissions to ensure they match, as well as server configuration for pretty much everything i can think of, both servers are on v76.0.6
If i manually edit the cd /var/spool/cron/USERNAME file and exchange the line:
SHELL="/usr/local/cpanel/bin/jailshell"
for:
SHELL="/bin/bash"
this allows the cron to run however as soon as this is updated via cPanel this line reverts and the cron ceases to work again
Any help would be greatly appreciated.
I have a cron job setup on a user that does not seem to run, if I apply shell access to the user then the cron will run fine however with jailed shell or no shell it will not run. The same cron is in place on other users without shell access and runs fine on another server.
Both servers run on the same ESXi platform with the same configuration of virtual hardware
I have checked file permissions to ensure they match, as well as server configuration for pretty much everything i can think of, both servers are on v76.0.6
If i manually edit the cd /var/spool/cron/USERNAME file and exchange the line:
SHELL="/usr/local/cpanel/bin/jailshell"
for:
SHELL="/bin/bash"
this allows the cron to run however as soon as this is updated via cPanel this line reverts and the cron ceases to work again
Any help would be greatly appreciated.