Webcron: Difference between revisions

Content deleted Content added
AnomieBOT (talk | contribs)
m Dating maintenance tags: {{Externallinks}}
Yobot (talk | contribs)
m WP:CHECKWIKI error fixes + other fixes using AWB (9930)
Line 1:
{{multiple issues|
{{Refimprove|date=December 2010}}
{{Primary sources|date=December 2010}}
}}
 
'''webcron''' is the term for a time-based [[job scheduler]] hosted on a [[web server]]. The name derives its roots from the phrase ''web server'' and the Unix daemon [[cron]]. A webcron solution enables users to schedule jobs to run within the web server environment on a [[web host]] that does not offer a [[shell account]] or other means of scheduling jobs.<ref name="WebCronDoc">[http://barebonescms.com/documentation/webcron/ WebCron product documentation], retrieved December 1, 2010</ref>{{psc|date=December 2010}}
Line 9 ⟶ 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. Many{{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 many third-party webcron scheduling providers on the web.<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>[http://www.easycron.com/user/register EasyCron plans]</ref>
 
Users who set up premium accounts on third-party webcron scheduling providers typically{{really?|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>[http:"//www.easycron.com/user/register EasyCron plans]</ref>{{psc|date=December 2010}}{{or?|date=December 2010}}
 
Some webcron service providers accept [[Cron#CRON_expressionCRON expression|CRON expression]] in web interface to schedule the job executing time.<ref name=webcronCronExp>[http://www.easycron.com/faq/What-cron-expression-does-easycron-support EasyCron accepts cron expression]</ref>
 
=== Visitor Based ===
Line 51 ⟶ 54:
 
== External links ==
{{externallinksexternal links|date=December 2013}}
* [http://callmyapp.com/ CallMyApp.com] - A completely free online API based webcron service. Includes web interface, but designed with systems integration in mind.
* [http://www.webcron.org/ Webcron.org] - A very popular third-party scheduling provider with differents Time-Out and a reliable server monitoring tool.