I need to run some cron jobs on PHP scripts that should have server-wide access, what would be the best location to store them and how to set them up so that they don't have any permissions issues?
thank you Falko I need to test the script first, is there a way to execute the PHP script from http with root privileges? would something like that work if I add it to /etc/sudoers Code: web1 ALL=(ALL) NOPASSWD: /usr/bin/php -f /var/www/clients/client1/web/myscript.php ?