You are here:  » Setup cronjob


Setup cronjob

Submitted by wesse249 on Wed, 2014-04-09 11:38 in

Hello,

I use cpanel for my hosting. and i'd like to setup a cronjob for all my feeds.

I create all of my feeds in the automation tool and after i register them in admin home.

But it isn't clear for me how to setup de cronjob.

Can you help?

Submitted by support on Wed, 2014-04-09 11:46

Hello wesse,

Thank you for your feedback.

The actual script that runs the Price Tapestry CRON process is scripts/cron.php This script:

1) Runs all Automation Tool jobs
2) Imports all feeds

If you go to your /admin/ area, and then click Support Info. the script tries to work out the full CRON commands to use. There, you will see similar to the following:

CRON
Option 1 cd /var/www/scripts;/usr/bin/php cron.php
Option 2 /usr/bin/wget http://www.example.com/scripts/cron.php

If both options are showing as available, Option 1 is the best command to use. Using cpanel, create a new CRON job for your site, and on the configuration page copy and paste the Option 1 command as the new job, and set-up the schedule you wish to use.

If neither option is showing as available please see this page for further information - scroll to the end of the page for help regarding hosting / server configuiration for modifying your configuration if neither option is showing as available.

If you're still not sure of course, let me know and I'll check it out further with you;

Cheers,
David.
--
PriceTapestry.com