rjcuser Posted January 22, 2008 Share Posted January 22, 2008 Hi Does anyone have the definitive instructions for setting up the two cron jobs; automation settings and mail piping, as scheduled tasks on a windows 2003 server? I have found bits in the forum, but nothing that seems to be exactly what to do.... I have found wget and nncron, so if these were a better solution, then instructions for one of these would also be helpful... Thanks in advance Cheers Richard 0 Quote Link to comment Share on other sites More sharing options...
support@shopwebsecure.com Posted January 23, 2008 Share Posted January 23, 2008 To setup a Windows machine to run cron.php at a specific time follow the specific instructions below. Creating a Scheduled Task 1. Open Scheduler 2. Go to Start > Programs > Accessories > System Tools > Scheduled Tasks 3. Double-click Add Scheduled Task 4. The Scheduled Task Wizard will appear. Click Next. 5. Select the program to run. Choose your browser from the list (for example, Internet Explorer or Mozilla Firefox). Click Next. 6. Give the task a Name, such as Drupal Cron Job, and choose the Frequency with which to perform the task (for example, Daily)). Click Next. 7. Choose specific date and time options (this step will vary, depending on the option selected in the previous step). When finished, click Next. 8. Enter your password if prompted. Change the username if required (for example, you'd like the task to run under a user with fewer privileges security reasons). Click Next. 9. On the final page, select the checkbox Open advanced properties for this task when I click Finish and click Finish. Configuring the task 1. Go to the task's setting page either by checking the checkbox at the end of the last step, or by double-clicking on the task. 2. In the Run box, after the text that is there now (for example, C:\PROGRA~1\MOZILL~1\firefox.exe), enter a space and then type the address to your website's cron.php page in double quotations (for example, C:\PROGRA~1\MOZILL~1\firefox.exe http://www.example.com/cron.php 3. To set a frequency more often than Daily (for example, hourly), click the Schedule tab, then click Advanced. Here you can set options such as Repeat task, every 1 hour for 23 hours. Click Ok when finished. 4. Change the start time on the task to one minute from the current time. This will allow you to test the task and make sure that it is working. 5. When all settings have been configured to your liking, click Apply and OK (note: you may be prompted for your password) Hope this will help... 0 Quote Link to comment Share on other sites More sharing options...
rjcuser Posted January 23, 2008 Author Share Posted January 23, 2008 Thanks... 2. In the Run box, after the text that is there now (for example, C:\PROGRA~1\MOZILL~1\firefox.exe), enter a space and then type the address to your website's cron.php page in double quotations (for example, C:\PROGRA~1\MOZILL~1\firefox.exe http://www.example.com/cron.php You say in double quotations, but then the example doesn't have them? Which is correct, or am I misunderstanding? Cheers Richard 0 Quote Link to comment Share on other sites More sharing options...
rjcuser Posted January 23, 2008 Author Share Posted January 23, 2008 Thanks... 2. In the Run box, after the text that is there now (for example, C:\PROGRA~1\MOZILL~1\firefox.exe), enter a space and then type the address to your website's cron.php page in double quotations (for example, C:\PROGRA~1\MOZILL~1\firefox.exe http://www.example.com/cron.php You say in double quotations, but then the example doesn't have them? Which is correct, or am I misunderstanding? Cheers Richard Also, is this the correct path for the mail pop3 piping? http://www.domain.com/clients/pipe/pop.php 0 Quote Link to comment Share on other sites More sharing options...
support@shopwebsecure.com Posted January 30, 2008 Share Posted January 30, 2008 sorry for that...no need to type the quotation...just follow that as is... C:\PROGRA~1\MOZILL~1\firefox.exe http://www.example.com/cron.php 0 Quote Link to comment Share on other sites More sharing options...
Speedy059 Posted May 15, 2008 Share Posted May 15, 2008 I had a quick question, is this the same way to setup email piping for Support Tickets? 0 Quote Link to comment Share on other sites More sharing options...
mylove4life Posted May 16, 2008 Share Posted May 16, 2008 I use Smater Ping, works the best.... http://www.softpedia.com/get/Internet/Servers/Server-Tools/SmarterPing.shtml 0 Quote Link to comment Share on other sites More sharing options...
MzaNike Posted June 22, 2008 Share Posted June 22, 2008 My corn is under \admin\ do i just move the cron to a place where no username/id is required, or how do I overgive web-usernam+password? 0 Quote Link to comment Share on other sites More sharing options...
nathany Posted June 22, 2008 Share Posted June 22, 2008 I'd recommend wget running periodically as a scheduled task. It has been working fine here since we put it in. It's better imo than using firefox, etc. There are several versions but we use this one: http://pages.interlog.com/~tcharron/wgetwin.html 0 Quote Link to comment Share on other sites More sharing options...
dmc_ss Posted January 9, 2009 Share Posted January 9, 2009 Can you post some examples of the command lines to get wget working. There's a lot of options and very little help on using wget. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.