Welcome to WebmasterWorld Guest from 54.159.250.110

Forum Moderators: phranque

Message Too Old, No Replies

Cron jobs with ASP?

How to have a server execute an ASP script periodically.

   
3:51 am on Sep 29, 2002 (gmt 0)

10+ Year Member



My website runs on WinNT. I needed way to execute an ASP script every few minutes to check an email account and if there is a message alert me on my mobile phone. I can do the scripting part but have no idea how to execute the script periodically. Any help/suggestions will be appreciated.

Best Regards
Saurabh

9:55 am on Sep 29, 2002 (gmt 0)

WebmasterWorld Administrator ianturner is a WebmasterWorld Top Contributor of All Time 10+ Year Member



There is a command line program called wget, it will make an http request for you. Just set it up as a scheduled task to get a timed asp process.

(Sorry I can't remember where I got it from but it is freeware)

11:10 pm on Sep 29, 2002 (gmt 0)

10+ Year Member



IanTurner, thanks for the reply.
I dont't leave my computer on all the time. Is there anything that I can do on the server itself?
8:09 am on Sep 30, 2002 (gmt 0)

WebmasterWorld Administrator ianturner is a WebmasterWorld Top Contributor of All Time 10+ Year Member



If you have full access to the server - run wget on the server instead of on a client. It works just as effectively.
9:15 pm on Sep 30, 2002 (gmt 0)

10+ Year Member



Can you not auto-forward any emails hitting the account to your cell phone, like 555-555-5555@verizon.net?
8:55 pm on Oct 8, 2002 (gmt 0)

10+ Year Member



RossWal: No, the cell phone service provider rejects any email that dosen't have the right email address in the "To" field. Moreover I want grab only some particular emails, parse them and send that parsed data only.