Logo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
cronjob [2017/01/09 11:03]
sorin
cronjob [2017/03/31 11:33]
sorin [Where do i set up my CRON Jobs?]
Line 12: Line 12:
 CRON is a service provided by most hosting solutions – including **Godaddy, Dreamhost, Hostgator**,​ etc... that allows you to run scheduled jobs that perform regular cleanups, backups or other scripts that need to run from time to time.\\ CRON is a service provided by most hosting solutions – including **Godaddy, Dreamhost, Hostgator**,​ etc... that allows you to run scheduled jobs that perform regular cleanups, backups or other scripts that need to run from time to time.\\
 \\ \\
-==== Why would you need that?==== + 
 +==== Why do you need a CRON Job? ==== 
 \\ \\
 PHP is running only when users are visiting your site. You have no guarantee that at a specific time there will be an instance of PHP running on your web server. This is why you have to ensure this through running at specific times the needed PHP script. PHP is running only when users are visiting your site. You have no guarantee that at a specific time there will be an instance of PHP running on your web server. This is why you have to ensure this through running at specific times the needed PHP script.
 +
 +\\
 +
 +CRON jobs are tasks that run at scheduled times, where usually this is a service offered by the hosting provider. These tasks make sure that certain extension tasks run at a specific time. 
 + This way you make sure that for instance your users get the notifications about upcoming expiring auctions or information regarding their watchlists.
 +
 +
 +CRON jobs are required to keep an extension working properly. For detailed information about what each component needs a CRON for, check the detailed link at the bottom of this article.
 +
 +
 +==== Where do i set up my CRON Jobs? ====
 +
 +\\
 +
 +Setting up the CRON jobs might be different from one solution to another, since this depends allot on the service provider. Here we advise to check out our references and match them to the ones provided by your hosting provider or other 3rd party which is offering the CRON service. ​
 +
 +\\
 +
 +    * The Factory CRON Documentation (this document) ​
 +    * [[http://​www.siteground.com/​tutorials/​cpanel/​cron_jobs.htm|CRON jobs in CPANEL Hostings]] ​
 +    * [[http://​help.godaddy.com/​article/​3547|CRON Jobs in Godaddy Hostings]] ​
 +    * [[http://​wiki.dreamhost.com/​Cron_Jobs|CRON jobs in Dreamhost panel]] ​
 +
 +==== What tasks do i set up in my CRON Jobs? ====
 +
 +\\
 +
 +There are two tasks that must run:
 +  * **Common task** that may run every 5-15 minutes, that closes current expiring auctions and notifies winners/​auctioneers. ​
 +  * **Daily task** that runs once a day, which takes care of cleanups, updates the exchange rates for currencies and notifies users of upcoming auctions (in the next 24 hours) ​
 +Our recommendation is to set up the common at a 5 minutes pace and the daily at midnight.
 +
 +\\
 +
 +You can find exact links for your site by going to the component Settings - CRON Information
 +
 +\\
 +{{gallery>​ joomla30:​auctionfactory:​cron_info_backend.png }}
 +
 +
 +\\
 +
 +These are the links you must set up to be accessed in CRON, for documentation purposes we only show the links for Auction Factory:
 +
 +\\
 +
 +    * Common task: **[Yoursite]/​index.php?​option=com_auctionfactory&​controller=crontask&​pass=**
 +    * Daily task: **[Yoursite]/​index.php?​option=com_auctionfactory&​controller=crontask&​daily=1&​pass=**
 +
 +
 +
 +\\
 +
 +You can set up / change the password for the CRON jobs in Settings - //General Settings, first tab - CRON Settings area//.
 +
 +\\
 +
 +Detailed CRON information for all our extension can be found [[:cronjob| at this link.]] ​
  
 \\ \\