Forum Moderators: coopster & phranque

Message Too Old, No Replies

Auto executing a script everyday

         

jeffisatwork

9:02 pm on Mar 23, 2005 (gmt 0)

10+ Year Member



Hi,

I've been crusing around these forums for a while and I have only now come up with a question that I havn't been able to search for the answer to. I hope i've got the correct language and forum (to be honest I only know php) and I think you can only perform these functions in cgi.

Here is the delima:

I need a script that will auto run every morning. Grab data out of MySql tables and email it out to respective email addresses.

I have the abilities to code the sending email and SELECT statements, I just have no idea how I can get a script to autorun every morning at a certian time.

Any help would be greatly appreciated from those in this community of learned folk.

Thanks

adni18

9:57 pm on Mar 23, 2005 (gmt 0)

coopster

3:23 am on Mar 24, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, jeffisatwork.

Looks like adni18 has you onto a few options there, hopefully that gets you off in the right direction.

adni18

3:12 pm on Mar 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



CronTab requires a minimal if any knowledge of UNIX commands, and it's relatively simple.

jeffisatwork

4:00 am on Mar 26, 2005 (gmt 0)

10+ Year Member



Thanks for all of the info. I've thrown this at my Service providers and they've given me access to use CronTab on their systems so all is good.

Thanks again