+ Post New Thread
Results 1 to 4 of 4
Scripts Thread, Script to create a scheduled task in Coding and Web Development; Hi, I need a script that i can deploy via group policy to call a batch file every night at ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,933
    Thank Post
    886
    Thanked 1,692 Times in 1,471 Posts
    Blog Entries
    12
    Rep Power
    446

    Script to create a scheduled task

    Hi,
    I need a script that i can deploy via group policy to call a batch file every night at 6pm. Can anyone help me achieve this?

    Thanks

  2. #2
    sahmeepee's Avatar
    Join Date
    Oct 2005
    Location
    Greater Manchester
    Posts
    795
    Thank Post
    20
    Thanked 70 Times in 42 Posts
    Rep Power
    33
    The old way was via the "at" command, which has now been replaced with "schtasks"

    The schtasks help (schtasks /?) isn't very clear, this is better:

    Schtasks - Scheduled tasks

    You can point it at remote systems too if that's easier than the GPO route.

  3. 3 Thanks to sahmeepee:

    CHR1S (22nd November 2011), FN-GM (2nd May 2009), garethedmondson (2nd May 2009)

  4. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,933
    Thank Post
    886
    Thanked 1,692 Times in 1,471 Posts
    Blog Entries
    12
    Rep Power
    446
    Thanks that did the trick

  5. #4
    tomscaper's Avatar
    Join Date
    Jul 2006
    Posts
    814
    Thank Post
    118
    Thanked 29 Times in 15 Posts
    Rep Power
    22
    Quote Originally Posted by FN-GM View Post
    Thanks that did the trick
    Can you copy your script that you made, just so i can see how it was done as i was thinking about creating some scheduled tasks.

SHARE:
+ Post New Thread

Similar Threads

  1. Disobedient NTBackup will not run Scheduled Task
    By Batman in forum Windows Server 2000/2003
    Replies: 12
    Last Post: 23rd October 2009, 06:43 PM
  2. Exmerge Scheduled Task crashing
    By adamf in forum Windows
    Replies: 3
    Last Post: 1st December 2008, 11:00 AM
  3. Scheduled Task Error code 0x35
    By Stuart_C in forum Windows
    Replies: 0
    Last Post: 25th November 2008, 10:27 AM
  4. Scheduled task not displaying on desktop
    By Jobos in forum Windows
    Replies: 2
    Last Post: 30th April 2008, 03:16 PM
  5. Deploy a scheduled task!
    By Ste_Harve in forum How do you do....it?
    Replies: 2
    Last Post: 14th September 2007, 02:04 PM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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