For Advantage, Business, and Reseller accounts, cron jobs can be configured by following these steps:
- Login to the Netfirms Control Panel at https://controlpanel.netfirms.com
- Click Hosting
- Choose Advanced
- Click Scheduled Tasks
- If there are no scheduled tasks created, simply follow the onscreen prompts to configure your scheduled task. Otherwise, click Add and then follow the onscreen prompts to configure your scheduled task
Guidelines:
(i) Enter the following command line. For instance, to cron awstats enter: ../cgi-bin/awstats.pl -config=model -update
(ii) Select the Time Parameters which will dictate how often you wish to have your stats updated
(iii) Optional: If you wish
to receive email notifications or warning error messages regarding your
cron job, enter an email address to send the notification
IMPORTANT:
We suggest that your awstats cron job be run every 2 hours on the half-hour mark (eg. 1:30, 3:30, 5:30, etc. The time parameters would be as follows:
Minute(s): 30
Hour(s): Every Other Hour
Month(s): Every Month
Weekday(s): Every Weekday
Once you have added your scheduled task, you may test your cron by clicking the corresponding Test link. Your crons will also be logged in your web account in /www/.cron.log. You may view your log file using Netfirms File Manager or you may download it and use a text editor to view the log file.