I am currently using Yahoo web hosting. I found out that Yahoo does not support cron jobs. What I want to do is run my script and feed the data it mines into Yahoo's mysql database. The script is written in PHP, takes a couple hours to complete, and I would like it to be running constantly to keep my information updated. Is it possible to run the script in my local environment and somehow send that information to the Yahoo's mysql server? Is there a free online service which would run my script for me and send the data?
Asked
Active
Viewed 1,034 times
0
-
1A PHP script which runs a couple of hours? No way ... – Chris Feb 15 '14 at 17:30
-
there are, just google "online cron service". Those do only request a web URL though, so you have to get your script working that way. They won'T wait for an answer, neither will they do anything if they receive one. – Johannes H. Feb 15 '14 at 17:30
-
@Chris Not true, there are a couple of (free) services that you can use to call a script on your server (as long as it's publicly accessible of course) – Johannes H. Feb 15 '14 at 17:31
-
[StackOverflow: cron Alternative](http://stackoverflow.com/questions/163476/free-alternative-to-webcron) – जलजनक Feb 15 '14 at 17:50
-
I checked out cronme which seems promising although would I be able to send the data I get to my remote mysql server hosted by Yahoo? If I run the script via Yahoo web hosting it times out since it takes too long. – Charity Feb 15 '14 at 18:01
-
YOu won't most likely find ANY host that allows you to run scripts that run an hour. I wouldn't even do such tihngs on my own server... YOu need to have webspace that allows you to run the scruipt, then you can use cron services to request it. – Johannes H. Feb 15 '14 at 19:23
1 Answers
0
You can use Jenkins for this. A cron job configuration could be done in the way it is specified here. Complete step by step guide could be also find here.

Community
- 1
- 1

Captain Haddock
- 488
- 2
- 7