Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: bakedjake
I have a cgi that uses meta-refresh to load new content and write new logs...and I also use iframes that sort of thing...
The problem is that my boss doesnt want to do that manually and would like to be done automatically with a cron job, my question is this...
When I run the cgi it displays an HTML that refreshes itself(in this case he CGI) every 30 seconds. If I run the cgi with a cron job, what would happen? Would it be able to work the same? If not. What are my other options?
make a script to pull the page that gets refreshed. Run it from cron every 30 seconds.
or, make a script to do what the page actually does and run that from cron. (that's probably more reasonable).
Most scripts that you write to pull a web page don't automatically refresh. In fact, you can use 'curl' or 'wget' to pull web pages from the command line. just send the output to /dev/null or something if you don't want it.