[pmwiki-users] how can I trigger PmWiki with a cron job?

Greg Morgan cybie at infinite-elements.com
Wed Jan 26 20:19:00 CST 2005


There is a command line utility used to download a pagefrom a URL.  I think it’s called CURL. 
You can use the AT command to schedule a time for CURL to “download” the URL for your site.
-----Original Message-----
From: Neil Herber <nospam at mail.eton.ca>
Sent: Wed, 26 Jan 2005 17:05:50 -0500
Subject: [pmwiki-users] how can I trigger PmWiki with a cron job?

This is a trick question, because my PmWiki runs under Windoze 2000 Server.

In that environment, is there any way to trigger PmWiki every 2 hours or 
so? I have MailPosts set up, and unless someone loads a page after all of 
the time limits have elapsed (still can't get those set the way I want 
them), PmWiki does not send the mail post.

This is not a big problem for me (I can hit the page to trigger the mail), 
but I would like to know if "in general" it is possible to have the web 
server execute a PHP script at a predetermined time or interval.

Or is there a way to treat PHP as executable code on its own, like Perl?

If it makes things simpler, I have ActivePerl installed and mod_perl 
enabled on Apache.


Neil

Neil Herber
Corporate info at http://www.eton.ca/
Eton Systems, 15 Pinepoint Drive, Nepean, ON, Canada K2H 6B1
Tel: (613) 829-4668 

_______________________________________________
pmwiki-users mailing list
pmwiki-users at pmichaud.com
http://pmichaud.com/mailman/listinfo/pmwiki-users




More information about the pmwiki-users mailing list