I have a script that needs to be run daily. Should I use the Cron Job page in ISPCONFIG to do this, or do I need to add it manually on the server, or both?
In order to test it, I added the following in ISPCONFIG (running at min intervals for testing purpose) :
Code:
*/5
*
*
*
*
wget -q http://www.mydomain.com/cron.php
Another question...should ISPCONFIG create a new file in /etc/cron.d for this new entry? I have seen that it does during other tests, but for some reason, it is no longer creating this file.
I do not see any new entries in /var/log/ispconfig/cron.log, nor anywhere else, but I do see new entries in syslog. For example in syslog:
Code:
Jan 10 10:30:01 server2 /USR/SBIN/CRON[9529]: (web3) CMD (/var/www/clients/client1/web3wget -q http://www.mydomain.com/cron.php)
With the particular script that is running (...cron.php), it should be generating a log file that I have created, but it is not, despite the appearance that it is being logged in syslog.
Any insight?
Thanks!
Recent comments
20 hours 52 min ago
1 day 3 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 17 hours ago
2 days 2 hours ago
2 days 3 hours ago
2 days 7 hours ago
2 days 11 hours ago
2 days 12 hours ago