You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Where and how is the cron used for CCP4?
If so, where does the manual address set up for it? It would be a nice feature to use for automated backup and server cleanup.
Thanks in advance.
The cron feature is already set up and executed using the routines in:
./cgi-bin/library/common/site_cron_define.pl
Cron was built to clean up old carts and user form files then was expanded to clean up completed and pending orders. Just add whatever Perl code you like after the line:
if ($calc_cron_date_difference > "$cron_date_difference") {
and it will be executed. Cron is executed every 30 days when the system recognized a site access and the epoch time for the last cron job exceeds 30 days ago.
Offline