View Full Version : Someone willing to host a small CRON job for me?
doffer
06-01-2005, 10:09 AM
I've never really neede this feature before, but I do now... I'v made a music listing of the songs I've listened to and I have to parse a XML feed every once every tenth minute... The script will then parse the XML file and compare it to the database on my server, if there's anything new, it'll add it to the database, if nothing is new, the script wont do nothing...
Short summary:
How often: Every tenth minute
Required space for the script: 3kb
Required space for storage of results: 0 kb
If I can do something in retribution just tell me :)
Optismistic regards
Joe[y]
06-01-2005, 11:11 AM
so all you need is for somebody to host an xml file for you? am i right? if that's all it is i'll be happy to oblige. I have 5gb of bandwith but I only use about a 5th of that.
also, why can't you host this yourself?
doffer
06-01-2005, 06:15 PM
Sorry if I was unclear... I need someone to host a php script... The script will parse the XML file and if there's any new content, it'll add it to the DB..
The script should be executed every tenth minute...
Joe[y]
06-02-2005, 11:17 AM
well i'm ok to do that. as long a you don't suck up more than 3gb a month :wink:
doffer
06-02-2005, 11:30 AM
Your greay joey!
I'll mail you the script later today... It will have to be ran every tenth minute, so if you'll do that, it's great :D
Extremely greatful regards :D
Joe[y]
06-03-2005, 09:48 AM
no problemo.... just wondering how I feed the script to /dev/null ?
doffer
06-03-2005, 02:09 PM
Hm.. I've no idea... But the script will load the XML feed, look for new songs played and if there's any new songs played in the feed, it will add it to the database... What host do you have? ..I'll check it out and see if I can figure it out...
Joe[y]
06-03-2005, 02:14 PM
ok. i had this problem with running the script... something up with your database:
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in /home/jspurlin/public_html/fish/audioscrobbler_parse.php on line 27
Error: Client does not support authentication protocol requested by server; consider upgrading MySQL client
or my server? one or the other i have a feeling doesn't trust the other. either my server doesn't trust your database or your database doesn't trust my server... i think it's the later.
doffer
06-03-2005, 05:14 PM
doh.. The script is working fine from my server, and I've tried it in several folders, so it's not that...
I'll try writing a script that will execute a script on my server... So that the script you put up is plain php and only tells the script on my server to run...
I have no idea how to do it, but I'll do some googling and see what I can do :)
I'll write back in a few days...
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.