Menu

Cron Job On win 32

2003-04-05
2003-11-28
  • Nobody/Anonymous

    Hia,
    I looked at he script, and it looks very cool to me,,

    Question:

    On win32, how do you do the cron job? <- ( i haven't installed it yet)

    meaning, how does the script run his job every 2 mins on win2k?

    Thanks for any Reply.

     
    • Brad Fears

      Brad Fears - 2003-04-05

      There are a couple of ways to schedule jobs in Win2k.  First off, there is a 'task scheduler' available from the windows explorer.  Just schedule a job every two minutes to run the node.start script.  There are also a number of freeware cron utilities available for win32 if you look around on the internet.  You might have better luck with one of those, since the built-in task scheduler is a bit limited in functionality.

      --Brad Fears

       
    • Pat

      Pat - 2003-11-28

      Ok stupid question... the file name is "node-start". You will notice there is no file extension. I understand this isn't a binary file and by the looks of it, it would seem to be a PHP file. So when I run "php node-start" I get "No input file specified". I know how to use the Task Scheduler, but I don't know what CLI to use that will make this "node-start" function properly.

       

Log in to post a comment.

MongoDB Logo MongoDB