Run program on server continuosly.
#1
Posted 27 October 2011 - 04:33 PM
What i want to know is how, if it is possible at all, i would go about writing a script to execute a predefined command on data in a db at a time specified in the db.
My idea was a email reminder program, i enter a reminder note and the time i want the reminder sent and at the appropriate time the note is sent.
Problem is i am clueless as to how i would get a script to run continuously on the server, and what language it would need to be in.
Anybody have any tips?
Thanks,
Speed
Every man dies, but not every man truly lives.
Fold for Team OCC
i7 930 @ 3.9 || Dual-SLI GTX 250 || ASUS P6X58D-E || 3x2GB G.Skill Pi @ 1600 || Corsair TX850w || 2x WD Caviar Black 500gb
“The problem is not the problem. The problem is your attitude about the problem. Do you understand?”
-Captain Jack Sparrow-
#2
Posted 27 October 2011 - 04:58 PM
Asus M4N82 Deluxe | AMD Phenom II x4 995 3.2Ghz | Xigmatech Dark Knight 2100 RPM
Mushkin Castillo Deluxe 40GB(Windows 7) | WD Caviar Green 1TB Sata | 24x Asus DVD Burner Sata
2X EVGA SuperCLocked GTX 460 1GB | Antec 1200 |XFX 750W
#3
Posted 27 October 2011 - 05:05 PM
Just found out about php daemons so i don't know enough to decide yet.
Every man dies, but not every man truly lives.
Fold for Team OCC
i7 930 @ 3.9 || Dual-SLI GTX 250 || ASUS P6X58D-E || 3x2GB G.Skill Pi @ 1600 || Corsair TX850w || 2x WD Caviar Black 500gb
“The problem is not the problem. The problem is your attitude about the problem. Do you understand?”
-Captain Jack Sparrow-
#4
Posted 21 January 2012 - 06:16 PM
#5
Posted 21 January 2012 - 07:48 PM
If its linux you can just make a shell script and put it on a cronjob. Not to sure about windows servers though.
Secondary Rig - 20 inch iMac | 2.4 Ghz Intel Core 2 Duo | 2 GB DDR2 RAM
Mobile Rig - Asus Eee pc 1000 - 1.6Ghz intel atom | 40Gig SSD | Ubuntu Netbook Remix













