Cron jobs stopped working after cPanel to cPanel transfer to a new server
Ok, these cron jobs used to work just fine on the previous server, and we kept the same OS and pretty much everything moving WHM/cPanel accounts over to the new server, but now, after all the troubleshooting and little tweaks, we can't figure out what's causing these cron jobs not to fire and take effect...
Here is an example:
/usr/bin/curl -s
or
curl
-
Hello, Check permission and ownership of cron job files as well as that of curl binary. Check if curl is allowed to be executed as respective cpanel users sometimes, user needed to be added to group in order to allow execution of commands like curl wget. 0 -
Hello @CrazySerb, Can you let us know the permissions configured for /usr/bin/curl file on your system? You can check with a command like this: stat /usr/bin/curl
The default permissions are 0755. Also, can you let us know which operating system you are using on this server? Thank you.0 -
That's exactly what it was... somehow on CloudLinux out of the box permissions were set to 0700 on that file. Ugh... thanks! 0
Please sign in to leave a comment.
Comments
3 comments