Some rants about technology, PHP, people, tools, web etc from a developers perspective. Feel free to copy ideas, code or anything from here.

Friday, November 25, 2005

i hate crons

No comments
Just when i thought i had cron jobs in control i lost it :-( , still banging my head...

Presto, its working again.... i forgot to send query string to a page you need to add "--get" in curl request. Basicaly i was calling a php script in cron and passing it parameters. One thing i thought would work was passing the query string in the URL itself which curl calls.

My mistake, now its fixed you call it with /usr/bin/curl -d "var1=adfdafs&var2=xyz" --get http://someurl.com/somefile.php

hurray,

No comments :