Click here to get back home

Cron jobs alternative, Yahoo Web Hosting

 HomeNewsGroups | Search | About
 comp.lang.php    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Cron jobs alternative, Yahoo Web Hosting Josh 05-19-2008
Get Chitika Premium
Posted by Josh on May 19, 2008, 11:18 am
Please log in for more thread options
I have a website w/ Yahoo Web Hosting and unfortunately they do not
allow use of cron jobs. My site sends out automated personalized e-
mails on a regularly scheduled basis, currently via the method of
placing the e-mail PHP code on a page on the site and accessing it at
some point each day.

I would like to set it up as fully automated on the server, but how
can I do this without cron jobs? Are there alternatives? Seems like
SourceForge has a few million e-mail reminder "programs" but the ones
I found generally require cron jobs.

Posted by Captain Paralytic on May 19, 2008, 11:35 am
Please log in for more thread options
> I have a website w/ Yahoo Web Hosting and unfortunately they do not
> allow use of cron jobs. My site sends out automated personalized e-
> mails on a regularly scheduled basis, currently via the method of
> placing the e-mail PHP code on a page on the site and accessing it at
> some point each day.
>
> I would like to set it up as fully automated on the server, but how
> can I do this without cron jobs? Are there alternatives? Seems like
> SourceForge has a few million e-mail reminder "programs" but the ones
> I found generally require cron jobs.

Run a cron job somewhere else (or maybe just a Windoze scheduled job)
to access the page via CURL or the like.

Alternatively, change your hosting.

Posted by =?ISO-8859-1?Q?=22=C1lvaro_G=2 on May 19, 2008, 11:40 am
Please log in for more thread options
Josh escribió:
> I have a website w/ Yahoo Web Hosting and unfortunately they do not
> allow use of cron jobs. My site sends out automated personalized e-
> mails on a regularly scheduled basis, currently via the method of
> placing the e-mail PHP code on a page on the site and accessing it at
> some point each day.

The alternative that always works, if you don't mind depending on a
third party server, is using an external service to call a URL in your
site that triggers the appropriate scripts.

This is the first Google result:

http://www.webcron.org/

As about security*, you can do all soft of tricks from giving the URL a
long random name to filtering by IP.

(*) By security I basically mean not getting your scheduled tasks
triggered randomly 100 times a day.

Anyway, I hope Yahoo Web Hosting is free. Otherwise, cron support is
quite a basic feature in hosting plans.

--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--

Posted by Josh on May 19, 2008, 12:04 pm
Please log in for more thread options
Thanks very much for the help.

I started the site about 1.5 years ago before I knew anything about
programming at all so I was not knowledgeable enough to select a good
hosting service. Now I'm kind of stuck because moving servers is such
a pain. I've run into 2 problems w/ Yahoo so far: no cron jobs and no
access mod_rewrite. I didn't even know what those things meant a year
ago, but of course now it's a real pain.

For the short term I'll look into the solutions you guys offered. For
the long-term I'll have to change hosting services. I hear GoDaddy is
a good choice. Recommendations?

Posted by =?ISO-8859-1?Q?=22=C1lvaro_G=2 on May 19, 2008, 12:19 pm
Please log in for more thread options
Josh escribió:
> For the short term I'll look into the solutions you guys offered. For
> the long-term I'll have to change hosting services. I hear GoDaddy is
> a good choice. Recommendations?

My personal experience with GoDaddy was terrible. The PHP interpreter
would crash randomly with very simple scripts, something like once in
five page loads, and all I got from their support staff was: "We cannot
help with user script issues, have a nice day". It is very cheap, though.


--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--

Similar ThreadsPosted
PHP and cron jobs March 14, 2006, 12:03 pm
Cron Jobs March 18, 2006, 8:41 pm
cron jobs May 17, 2007, 5:13 pm
Cron jobs / tabs / tasks and more December 28, 2004, 5:27 pm
Cron jobs / tabs / tasks and more December 29, 2004, 4:03 am
Multiple jobs from single cron. September 23, 2006, 5:08 pm
cron hosting - webbasedcron.com November 20, 2004, 6:35 pm
Re: my cron jobs can not use SELECT INTO OUTFILE syntax? February 8, 2008, 8:24 am
Re: my cron jobs can not use SELECT INTO OUTFILE syntax? February 8, 2008, 11:21 am
Newbie needs a workaround - No Cron Jobs on Godaddy shared server! January 29, 2006, 7:20 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap