![]() |
Problems with cronjobs
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.plSuerte. |
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.
|
Are you using url, jailed, or full cron job?
|
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. |
umm, did you set properly group and owner for the script and directories?
Any error in cron.log? |
| All times are GMT +2. The time now is 04:04. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.