简体   繁体   中英

Web hosting does not support cron jobs. How can I run my scraping script remotely to mine data and then send it to my hosting's mysql database?

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?

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM