Les Mikesell wrote:
On 7/8/2011 5:43 PM, Ljubomir Ljubojevic wrote:
Kenneth Porter wrote:
On Friday, July 08, 2011 11:05 PM +0100 Keith Robertskeith@karsites.net wrote:
Is this something you could do with AJAX?
You mean JavaScript on the web client? That won't do anything for me on the server.
Note that the problem isn't strictly a web server problem. That just happens to be the place where I want to initially trigger this from. But I might also do it from a shell login. What I need is a way to kick a service so it doesn't wait for the next periodic interval to run a script. It would also be useful to have the "kick" block until the script finishes so I know when the results are available.
Read about Webmin. it's web interface for Linux administration that has as a part the cron job manipulation. You can change parameters disable/enable and run at once any cron job or service.
That's not going to give him atomic operations if the web/cron jobs hit at the same time or a bunch of web users all click the update button at once.
Yeah, I got that latter, when I read it the second time and some of the replies. I misunderstood him at first read.
Ljubomir