PDA

View Full Version : rescan from cron?



Jason Holtzapple
2004-01-29, 10:13
--- Dick Visser <dick (AT) tienhuis (DOT) nl> wrote:
> On Thu, 29 Jan 2004, Richard Purdie wrote:
>
> > > ANy idea how to schedule the Rescan action from cron??
> >
> > You could use wget to request the URL
> > http://localhost:9000/status.html?p0=rescan ?
>
> Since the engine behind all this is perl, wouldn't it make more sense to
> just directly call the appropriate command from cron, instead of:
> wget -> www-interface -> perl

The engine is perl, but the actual interface is a TCP socket
which is of course language-neutral.

--Jason

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/