1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Window Batch CODE NEED HELP $5 - SIMPLE QUESTION

Discussion in 'Hire a Freelancer' started by baokyrox, Jan 30, 2014.

  1. baokyrox

    baokyrox BANNED BANNED

    Joined:
    Oct 10, 2008
    Messages:
    429
    Likes Received:
    34
    Below is my batch code

    Code:
        :START
        echo RUNNING START
        "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" http://www.google.com
        ping -n 30 127.0.0.1 > nul
        echo RUNNING DONE 30 secs
        taskkill /im chrome.exe
        echo KILL CHROME
        GOTO START
    
    I trying to lets say run google.com every 30 seconds using my window batch file and load it at window cmd prompt by

    Code:
        Microsoft Windows [Version 6.1.7600]
        Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
        
        C:\Users\Administrator>cd Desktop
        
        C:\Users\Administrator\Desktop>chrome.bat
    
    But problem is on the part where it load line 3

    which is

    Code:
        "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" http://www.google.com
    
    The command prompt will stuck and hang, and not execute the next line.

    **What i want to achieve is**

    LOOP every 30 seconds, loading a specific page e.g google.com

    I not ddosing Google.com or what, I Just actually want setup a simple cron job to load 1 of my page every 30 seconds using google as example in this case


    Payment Paypal
    Pm me your answer.

    I am running Window Server 2008 R2 Standard
     
  2. ocheretko

    ocheretko Newbie

    Joined:
    May 13, 2009
    Messages:
    6
    Likes Received:
    1
    Location:
    Ukraine
    Hi. Write me skype "llioy.ha4uhaetc9i"
    i using other program, not using chrome.exe