How can I run a perl script from a cron job. The following command: /var/www/clients/client0/web5/cgi-bin/mva/cronjobs/deletesessions.pl in the cron job fails to work. Also, how can I run a PHP script from the command line. With ISPConfig 2 there were no problems, but I'm having problems with ISPConfig 3.
Code: /usr/bin/perl /var/www/clients/client0/web5/cgi-bin/mva/cronjobs/deletesessions.pl Where /usr/bin is the path to perl in ubuntu/debian Suerte.
Thanks for the reply. I didn't work. I tried placing the whole command within a bash script but it didn't work either. I don't know what to do.
The cron job belongs to a website that belongs to a client that has: Allowed cron job types: -1 Max. type of cron jobs (chrooted and full implies url): Full Cron A lot of my websites rely on downloading information (using perl and php scrits) via cron jobs. So far the server is useless, I have to do all by hand.