cron alternative php tip -


i got file fetch.php

for manually calling bookmark once day execute script.

i want set kind of cron..that goes fetch.php once day..

is possible..

the fetch.php file has html , bunch of javascript thats why cron doesn't work..

thanks... if need clarification let me know..

in crontab can run lynx command

example :

lynx -dump http://your.website.com > /dev/null 

edit:

the problem lynxs not run javascript.

so need find command line web browser support javascript , not quite simple.

check 'links' or 'w3m'

read more in post :

http://www.linuxquestions.org/questions/linux-software-2/is-there-a-browser-command-line-tool-for-testing-javascript-websites-359260/


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -