Cron stopped working for normal Cpanel users
Some times after installing/enabling the CageFS /cloudlinux the crons for the normal cpanel users get stopped working, This is normally due to the jailshell enabled on the same server before installing/enabling the CageF.
For example :
root@server [~]# crontab -l -u cpaneluser
*/5 * * * * /usr/local/bin/php -q /home/cpaneluser/public_html/billing/pipe/pop.php
0 0 * * * /usr/local/bin/php -q /home/cpaneluser/public_html/billing/adminadmin/cron.php
This cpaneluser has the cron set properly and also the cron service running as expected on the server but still the cron for all cpanel user will not get execute. To fix this issue perform below steps :
1) Disable JailShell For all cpanel user
Login into WHM >> Account Functions >> Manage Shell Access >> disable shell click on apply to all
2) disabled VertFS using below :
for i in `cat /proc/mounts | grep /home/virtfs | cut -d ‘ ‘ -f 2 ` ; do umount $i ; done
4) Enable CageFS
5) Update your CageFS
6) Enable jailshell again if require for the user(recommended not to open shell for cpanel user)
This will fix your issue cron execution issue for the cpanel user if you have problem with it after enabling the cloudlinux/cagefs.
Technical Support Department.
Please fill in your email address to get most latest updates.