Skip to main content

cronjobs aren't being added

Comments

12 comments

  • uadm
    a little bit more info: shell is /usr/local/cpanel/bin/noshell there's no cron also in ~user/.cagefs/var/spool/cron
    0
  • Jcats

    # tail - f /usr/local/cpanel/logs/error_log
    Run that, try adding a new cron and see if there is any output.
    0
  • uadm

    # 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
  • Jcats
    Does it work if you disable cagefs
    0
  • uadm
    Does it work if you disable cagefs

    no. we tried but doesn't work.
    0
  • cPanelMichael
    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
  • uadm
    running cafefsctl --force-update didn't help. all the users have /usr/local/cpanel/bin/noshell
    0
  • cPanelMichael
    If you assign one user jailed shell access, and then revert it back to no shell, does the issue continue? Thank you.
    0
  • uadm
    changing to jailshell -> trying to add cron = doesn't work reverting to noshell -> trying to add cron = doesn't work
    0
  • cPanelMichael
    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
  • uadm
    ticket 7229695
    0
  • cPanelMichael
    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.