|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Timed actions
is there a way that something happens on a specific date or time WITHOUT requiring anybody to open a page?
an example would be in the calendar: e.g. I want to be reminded via email 2 days before an event happens. Is that possible? maybe just in mysql? It´d make a lot of things much easier. thx |
|
#2
|
|||
|
|||
|
RE: Timed actions
I don't think so, no. Depending on your access to the server - you could set up a Scheduled Task (Windows) to run php.exe at a specific time. (there must also be something like this in Linux too)
You could also have a constant script running in a loop, checking the time etc etc - this can use up a lot of system resources though. |
|
#3
|
|||
|
|||
|
RE: Timed actions
The *nix tool is called cron.
|
|
#4
|
|||
|
|||
|
RE: Timed actions
Hi...
Look here for help: http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=388&lngWId=8 It helped me a lot... |
|
#5
|
|||
|
|||
|
RE: Timed actions
thx for your help, I think now I have an idea what cron is.
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Timed actions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|