1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Schedule task with vbs works only 4 or 5 times...

Discussion in 'Plesk for Windows - 8.x and Older' started by bart-rennes, Mar 27, 2007.

  1. bart-rennes

    bart-rennes Guest

    0
     
    Hello,

    I have scheduled a task to run each night a web page which generate report. But the problem it works only 4 or 5 times then nothing happen, i have to restart the server to work again...
    Here my script:
    ' VBScript File
    OPTION EXPLICIT

    Dim oShell
    Set oShell = WScript.CreateObject("WScript.Shell")
    oShell.Run "iexplore.exe http://www.xxxxx.com/genere-alertes.aspx", 1, FALSE
    WScript.Quit

    In the web page "genere-alertes.aspx" i close the browser when finished.
    So does someone has an idea ? this is a big problem for me.

    Thanks,
    jean-claude
     
Loading...