Curious if many use that plugin.

I need to come up with an easy way for a site owner to manage a series of
cron schedules from within BW for external processes that need to be done on
the website.  For number of reasons, I can't depend on the hosting site to
either provide cron access or access in a form that is usable...

So I am looking into integrating the package pseudo-cron into a plugin as
the existing plugin is not as flexible.

This would use site.cron to allow the site owner to easily manage the
external schedules using the flexible Pseudo-Cron crontabs.

This would allow for things like:

# Site functions
*    *  *  *  * updaterealtimelog.php # Update Realtime.log (every minute)
20   2 10  *  * rotaterealtimelog.php # Rotate Realtime.log (on the 10th of
the month at 2:20am)
*/5  *  *  *  * updategraphs.php      # Update static graph images (Every 5
minutes)
*/15 *  *  *  * updatesatmaps.php     # Update satellite map static (Every
15 Minutes)
# BW functions...
30   *  *  *  * somefunc param1=one param2=two # Perform BW function (Once
an hour at 30 minutes past)

The external Pseudo-cron would be modified to look for the crontabs in
site.cron instead of crontab.txt like it currently does.  Logfiles it
creates would be also modified so that they show up in perhaps something
like  site.cron.log

BTW... for timing... this could be setup to be triggered by action of the
website (like placing an include in the field/index.php file perhaps, but
for this application a remote workstation will be making a unique coded URL
call to the website once a minute.  It already sends data to the website
that often so it was easy to do that as well.  So items could be scheduled
as often as once a minute in a fairly reliable method.

Info on Pseudo-cron:  http://www.bitfolge.de/?l=en&s=pseudocron
--
You received this message because you are subscribed to the Google Groups "BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/boltwire?hl=en.

Reply via email to