Re: Triggering script from cron or web client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



--On Friday, July 08, 2011 8:23 PM -0400 Brian Mathis 
<brian.mathis+centos@xxxxxxxxxxxxxxx> wrote:

> If you don't want to wait a full minute you could use
> 'incron' to monitor the temp directory and kick the update right away.
>  Seems better than having something in a loop constantly checking.

incron sounds promising. I could use the regular cron to push a signal (ie. 
touch a file) at the regular interval, whereupon incron launches the 
existing script, and the webscript can touch the signal file when I need 
the script run right away. Will incron not run the script again if it's 
already running? Will it queue the file event until the handler exits?


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux