Webcron: Difference between revisions

Content deleted Content added
m more specific link
Rephrased weasle words.
Tags: Visual edit Mobile edit Mobile web edit
Line 11:
A webcron solution is made up of two pieces. The first piece is a script that will execute the tasks that resides somewhere accessible via a [[URL]]. The second piece is to use a scheduling provider that contacts the URL of the script at regular intervals.
 
Before setting up a schedule with a scheduling provider, a user must set up a script that runs on the web server. Most{{which|date=December 2010}} web hosts have restrictions on the length of time a single instance of a script may execute. ManyMultiple{{which|date=December 2010}} web hosts also have limitations on [[CPU]] and [[RAM]] resource usage. Users of webcron solutions on [[shared hosting]] providers must be careful to not repeatedly exceed their web host's limitations so as to not get kicked off. A script that runs a long time must take into account that it may be terminated at any point by a web server process. Users may implement a [[state machine]], which allows the script to operate across multiple invocations and run within the limitations imposed by a web host.<ref name="WebCronDoc" />{{psc|date=December 2010}}
 
== Scheduling Providers ==
 
=== Third-Party ===
There are manymultiple third-party webcron scheduling providers on the web.<ref name=setcron1>[https://www.setcron.com/ SetCron is a task scheduler service/ webcron that allows you to schedule cronjobs.]</ref><ref name=cronJobServices>[http://www.cronjobservices.com Webcron services]</ref> These services accept a URL and a frequency schedule to retrieve, or ping, the specified URL. Most{{which|date=December 2010}} providers have restrictions built into their system to avoid overloading their servers and to encourage users to sign up for premium accounts.<ref name=easycronPlans>[https://www.easycron.com/user/register EasyCron plans]</ref>
 
Users who set up premium accounts on third-party webcron scheduling providers typically{{Peacock term|date=December 2010}} gain additional benefits such as [[SMS]] and [[email]] notifications, uptime reports and logging, increased timeout limits, schedules won't expire, being able to use [[HTTP POST]] method, [[HTTP cookie]] support, or fewer restrictions on scheduling frequency.<ref>[http://www.setcronjob.com/html/prices SetCronJob premium pricing page], retrieved October 14, 2010</ref><!--- This is just an example I randomly chose. There are a good 30 or so third-party scheduling providers that offer different benefits with premium accounts. --><ref name="easycronPlans"/>{{psc|date=December 2010}}{{or?|date=December 2010}}