I've put cron.pl in the cron job list but im wary whether its running every hour or not. Is there a way I can check?
I would have just checked if theres any files over 30 days with 0 downlods but I havent launched my site yet so theres no files lol
XFileSharing Pro - How to test wheather cron.pl
You can add logging for your cron job.
So, cron line will looks like:
But make sure that /var/www/cgi-bin/cron.log exists and writeable.
So, cron line will looks like:
Code: Select all
cd /var/www/cgi-bin;./cron.pl >/var/www/cgi-bin/cron.log 2>&1
-
- Posts: 521
- Joined: Dec 19, 2009 5:12 pm
i tryed out the cronlog with cpanel
it got a option to send cronlogs to your email on succesfull and failt cronjobs
for the rest , i think both will works
i think that the /dev/null sends a email then (not sure)
the other way to check if cronjob works is by making a small test file and wait 1 day , or just remove a file from the database and see if it is updated after 1 hour
Greets From The Crasher
it got a option to send cronlogs to your email on succesfull and failt cronjobs
for the rest , i think both will works
i think that the /dev/null sends a email then (not sure)
the other way to check if cronjob works is by making a small test file and wait 1 day , or just remove a file from the database and see if it is updated after 1 hour
Greets From The Crasher