CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1

    NetScheduleJobAdd NOW

    Currently I'm scheduling task remotely on my domain but as of right now I'm using windows API NetScheduleJobAdd to add the task to the nearest minute then have the application execute. but I notice through windows that you can force the Application to execute when you rightclick the schedtask and click "RUN", does anyone know what API windows uses to do that? Start the task instantly?
    Http://ControllingTheInter.Net
    My General Computer Forum, From Security To Programming And Back To Troubleshooting.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,398

    Re: NetScheduleJobAdd NOW

    CreateProcess?
    or ShellExecuteEx?
    Victor Nijegorodov

  3. #3

    Re: NetScheduleJobAdd NOW

    Remotly? In XPSP2?
    Http://ControllingTheInter.Net
    My General Computer Forum, From Security To Programming And Back To Troubleshooting.

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,398

    Re: NetScheduleJobAdd NOW

    Quote Originally Posted by AgentSmithers View Post
    Remotly? In XPSP2?
    Ahh, sorry!
    I missed "he schedtask" in your post and only read the
    Quote Originally Posted by AgentSmithers
    ... click "RUN"
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured