I am trying to schedule a perl script to run daily, but I am not sure if I am doing everything right.
The script I want to run is to update AWStats each day, without manually having to press update.
Currently, I created a file in the cron.d folder with the following text inside:
00 09 * * * /usr/local/awstats/cgi-bin/awstats.pl -config=cwp-dev-02
If I run:
/usr/local/awstats/cgi-bin/awstats.pl -config=cwp-dev-02
The stats update succesfully, but nothing seems to happen with the scheduled task...