in

Dotnetpanel Forums

Community support forums for DotNetPanel products

Scheduled Task Properties

Last post 08-31-2007 3:45 AM by Feodor Fitsner. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 08-14-2007 8:48 PM

    Scheduled Task Properties

    I would lilke to know how properly configure Scheduled Task Properties for Execute System Command

    I wrote C# command line procedure and I have 2 arguments. When I run this manually everything workers fine.

    Here is my settings in dotnetpanel screen. (I run schedule on System space, not user space)

    Server Name: myservername

    Executable Path: cmd.exe C:\WINDOWS\system32\CopyDirectory.exe

    Executable Parameters: "p:\" "D:\Production\XXXX\XXXX"

    Please advise

     


     

    Filed under:
  • 08-21-2007 3:38 AM In reply to

    Re: Scheduled Task Properties

    Try these ones:

    Server Name: myservername

    Executable Path: C:\WINDOWS\system32\CopyDirectory.exe

    Executable Parameters: "p:\" "D:\Production\XXXX\XXXX"

    Please advise

    Sincerely yours,
    Feodor Fitsner, Director
    DotNetPanel - professionally developed software for hosting businesses
  • 08-28-2007 11:08 AM In reply to

    Re: Scheduled Task Properties

    It did not worked for me.

    Here is my settings

    Task Name:  Generate Firewall Reports

    Task Type: Execute System Command

    Server name: servername.domainname.com

    Executable Path:  C:\WINDOWS\system32\CopyDirectory.exe

    Executable Parameters: p:\ D:\Production\XXXX\firewallreports.xxxxx.com\wwwroot monitor@xxxxx.com

    CopyDirectory.exe located on server that I am trying to run command on.

    If you want I can post my code it very simple.

  • 08-30-2007 8:02 AM In reply to

    Re: Scheduled Task Properties

    servername.domainname.com - is this the name of the server as appear in DNP?

    Also, what errors do you have in Audit Log after task execution?

    Sincerely yours,
    Feodor Fitsner, Director
    DotNetPanel - professionally developed software for hosting businesses
  • 08-30-2007 11:41 AM In reply to

    Re: Scheduled Task Properties

    Ok, I found what was wrong.

    Schedule was working I looked at Audit Log and I saw my console output. Thank you.

    Problem was with my application. I did not put thread to sleep. Thread.Sleep(2000);

    Best regards

    Artem 

  • 08-31-2007 3:45 AM In reply to

    Re: Scheduled Task Properties

    Great, thanks for the update!

    Sincerely yours,
    Feodor Fitsner, Director
    DotNetPanel - professionally developed software for hosting businesses
Page 1 of 1 (6 items)
Powered by Community Server (Commercial Edition), by Telligent Systems