2

I have a CentOS LEMP stack with ISPConfig3. Everything is working perfectly, except for the cron jobs. I have tested the commands from command line, and they seem to be working fine, but when I put them in ISPConfig3's cron they dont work as scheduled tasks.

1 Answer 1

3

I assume you know how to set up the cron jobs in /etc/cronjob but want to set it up in ISPConfig3.

This is a classic ISPConfig3 problem. It's a permissions issue.

See client settings on the limits tab.

Full cron allows to run any command as cronjob on your server as web user, in this case web5. Its the least secure option.

Jailed cron runs the cronjob in the jail of the website, with this option you can only run commands that are installed inside the jail. Thats much betters ecurity wise.

URL cron allows only to run cronjobs by URL, it is the most secure option. ispconfig handles the url cron and creates the nescessary command in the cron files for it.

1
  • Brilliant! That was it.
    – Helene
    Sep 12, 2013 at 0:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.