Activity Stream
48,167 MEMBERS
6747 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 3 of 3

Hybrid View

marker Setting automatic tasks for site 26th Feb 2009, 06:28 AM
DizzyD Here's a snippet from the first... 3rd Mar 2009, 05:28 PM
marker Hey, thanks a lot for ur valuable... 5th Mar 2009, 06:30 AM
Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member
    Website's:
    FactShelf.com

    Default Setting automatic tasks for site

    The CRON jobs are the favourite for those sites hosted under LINUX servers. They are useful to run automated tasks in the server for automatic site updates.

    Im using a windows server. Is there any way I can run such tasks in WINDOWS server using any scripts??
    marker Reviewed by marker on . Setting automatic tasks for site The CRON jobs are the favourite for those sites hosted under LINUX servers. They are useful to run automated tasks in the server for automatic site updates. Im using a windows server. Is there any way I can run such tasks in WINDOWS server using any scripts?? Rating: 5
    factshelf.com - Its worth reading... If you like Link Exchange, with us, you are welcome! For more info, please visit factshelf.com

  2.   Sponsored Links

  3.     
    #2
    Member
    Here's a snippet from the first result on google for searching cron jobs on windows. Taken from a drupal site.

    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)

    Command-line version
    Another way to perform the above commands is by using the schtasks (or at in Windows 2000) command from the command line. To duplicate the example above, which runs Firefox hourly to execute http://www.example.com/cron.php, open a command prompt (Start > Programs > Accessories > Command Prompt) and enter:
    schtasks /create /tn "Drupal Cron Job" /tr "C:\PROGRA~1\MOZILL~1\firefox.exe http://www.example.com/cron.php" /sc hourly
    Enter your password if prompted.

  4.     
    #3
    Member
    Website's:
    FactShelf.com
    Hey, thanks a lot for ur valuable reply. I will try that and tell u the result.

    Thankssssssssss
    factshelf.com - Its worth reading... If you like Link Exchange, with us, you are welcome! For more info, please visit factshelf.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Setting up a site [Need help]
    By iRob in forum Hosting Discussion
    Replies: 5
    Last Post: 14th Oct 2012, 01:18 PM
  2. help me in setting up my site in vps. plsss.
    By mp3dload in forum Technical Help Desk Support
    Replies: 9
    Last Post: 8th Jun 2012, 03:16 PM
  3. [help] automatic news site
    By devilsgal in forum Technical Help Desk Support
    Replies: 10
    Last Post: 8th Nov 2011, 04:02 PM
  4. DLE Expert for setting up my site
    By downloadsmasti in forum Completed Transactions
    Replies: 10
    Last Post: 18th Jul 2011, 06:12 PM
  5. how do i go setting up google for my ddl site?
    By .m0zilla in forum Forum and DDL Discussion
    Replies: 6
    Last Post: 25th Jan 2009, 08:27 PM

Tags for this Thread

BE SOCIAL