Cron equivalent in Windows

Sharky Forums


Results 1 to 6 of 6

Thread: Cron equivalent in Windows

  1. #1
    Hammerhead Shark hobbes2112's Avatar
    Join Date
    Jul 2001
    Posts
    1,553

    Post Cron equivalent in Windows

    I am used to just setting up cron jobs in *nix to run things....does something like this exist for Windows?

    ------------------
    Why Yes! I am a proud member of the SF Linux Hippy Club.

  2. #2
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077

    Post

    NT has always offered the "AT scheduler" which will run a given batch file or application whenever you would like it to. For example, I wrote a batch file which Zips up my Webroot and Database tables every night at 4am, and copies it all to a network drive. It's kind of a cheeseball backup system, but it works pretty well for me.

    Anyways, in order to schedule my batch file all I had to say was:

    at 4:00 /every:m,t,w,th,f,s,su "D:\WebBackup.bat"


    Read more about this utility here:
    http://www.windows2000faq.com/Articl...rticleID=15153


  3. #3
    Hammerhead Shark hobbes2112's Avatar
    Join Date
    Jul 2001
    Posts
    1,553

    Post

    Thanks, I will look into that...

    ------------------
    Why Yes! I am a proud member of the SF Linux Hippy Club.

  4. #4
    Expensive Sushi
    Join Date
    Nov 2001
    Location
    Boston, MA
    Posts
    38

    Post

    The newer versions of IE (5.0+ IIRC) install an updated version of the scheduler on NT 4.0 called 'Task Scheduler' It can still work the same way as the old AT scheduler, but also includes some new features including the ability to run jobs under different user accounts where previously whatever account the Scheduler service was started with ran the scheduled jobs.

  5. #5
    Great White Shark Moridin's Avatar
    Join Date
    Sep 2000
    Posts
    5,351

    Post

    There is also a graphical tool called WinAT for setting up AT jobs, but I don't know if it is available for download. I got it through technet.

    ------------------
    Life is complex. It has real and imaginary parts.

  6. #6
    Expensive Sushi
    Join Date
    Nov 2001
    Location
    Boston, MA
    Posts
    38

    Post

    WinAT is part of the NT Resource Kit, I got it from an MSDN subscription so I have no idea if it's available for download either...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •