Welcome to WebmasterWorld Guest from 54.196.244.206

Forum Moderators: phranque

Message Too Old, No Replies

Cron Jobs - but for Win2000

     
7:17 pm on Sep 30, 2001 (gmt 0)

Full Member

10+ Year Member

joined:June 28, 2000
posts:280
votes: 0


I apologize for my lack of technical knowledge/description, but let me give this a shot:

I know on a unix machine, a cron job can be executed at predefined times during the day/week.

Well, that is exactly what I am looking to create on my site - but I need to know how to do this for a Win2000 platform.

A query needs to be executed every Monday, Wednesday and Friday morning (3:00 am in the morning). Can I set this up myself, or does the hosting provider need to do something at the server level?

I look forward to your replies.

(BTW: If anyone remembers my question about choosing SQL or Acccess as the database several months ago- well we decided to us SQL - and that was a great move. It defintely paid off for us.)

6:27 am on Oct 1, 2001 (gmt 0)

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
posts:14472
votes: 49


This is the standard Windows scheduler:
Start Programs Accessories System Tools Scheduled Tasks
4:21 am on Oct 2, 2001 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 21, 1999
posts:2141
votes: 0


As Bill indicated, Win2K has a task scheduler. I have no experience with W2K hosting but I'd be surprised if you have direct access to scheduling. Better contact your hosting service and ask them if and how...
3:19 am on Dec 16, 2001 (gmt 0)

New User

10+ Year Member

joined:May 20, 2004
posts:32
votes: 0


If you have access to the command shell (win2k allows this, telnet in to get a command shell) you can use "AT", at /? for help.

Or, you could get Cygwin (Gnu project) and put that up on the machine. Gives you access to real shells and most unix commands (including cron). Great if you have already made unix scripts you do not want to redo.

Oli

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members