cronjobs aren't being added
on one of our server cronjobs are not being added.
Users go to cpanel -> cron jobs
add the time and command and press add new cronjob. It sais cronjob is added but then we don't see the job in the cron list of cpanel and nither on the server in /var/spool/cron/USER
This is happening to all users.
-
a little bit more info: shell is /usr/local/cpanel/bin/noshell there's no cron also in ~user/.cagefs/var/spool/cron 0 -
# tail - f /usr/local/cpanel/logs/error_log
Run that, try adding a new cron and see if there is any output.0 -
# tail - f /usr/local/cpanel/logs/error_log
Run that, try adding a new cron and see if there is any output.
Doesn't give any output or error.0 -
Does it work if you disable cagefs 0 -
Does it work if you disable cagefs
no. we tried but doesn't work.0 -
Hello :) You can try running the following command: cagefsctl "force-update
Also, are any of the accounts assigned shell access or jailed shell access? Thank you.0 -
running cafefsctl --force-update didn't help. all the users have /usr/local/cpanel/bin/noshell 0 -
If you assign one user jailed shell access, and then revert it back to no shell, does the issue continue? Thank you. 0 -
changing to jailshell -> trying to add cron = doesn't work reverting to noshell -> trying to add cron = doesn't work 0 -
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you. 0 -
ticket 7229695 0 -
To update, internal case CPANEL-389 addresses an issue where if an account is set to "Jailshell" or "NoShell" in WHM, you are not able to create a cron job for that user. The workaround is to manually create the touch file for the account username in the /var/spool/cron/ directory. Thank you. 0
Please sign in to leave a comment.
Comments
12 comments