Jump to content

[SOLVED] Run a script every X minutes


zmex

Recommended Posts

Hi,

 

i'd like to know if this can be done in php:

 

Computer 1 sends every 10 minutes a file to Computer 2. This Computer 2 is actually

a web hosting service and i don't have a full control.

 

I want to run a script on this Comp2, that will check every 30 minutes, if the file

exist and its timestamp is no older than 30 minutes. If it's older, then sends me a

notification email (in case if Computer 1 freezes).

 

All ok, but how can i run the script every X minutes?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/43186-solved-run-a-script-every-x-minutes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.