Vivek Khera wrote:
> >> With appropriate Perl modules for the cron files, this should be
> >> trivial. But then, you probably aren't doing this from mod_perl...
>
> PP> Well, yes, why? :-)
>
> You really want to have your web server writing files that execute
> arbitrary programs at arbitrary times? Sounds risky.
Well, I'd like to keep this as little arbitrary that I can. For examples
of what I'd like to be able to do:
http://tz.arsdigita.com/
http://remindme.arsdigita.com/
http://uptime.arsdigita.com/uptime/
The last one fetches URLs from the web.
As for risky: this is just as risky as using mod_perl at all. What is
run is controlled by the script, so it's not 100% arbitrary, if you can
help it. If it was inside Apache, then it wouldn't be arbitrary
programs, it would restricted to the server.
--
"You can have my Unix system when you pry it from my cold, dead
fingers."
-- Cal Keegan