Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

at.exe Windows 7

  • 06-09-2012 10:54PM
    #1
    Registered Users, Registered Users 2 Posts: 6,560 ✭✭✭


    Hi,

    I'm looking to schedule a task in windows 7 that will shut my computer down at 02.00 every weekday morning. I have configured a basic task in tasksched that will do this daily but I want the weekend excluded.

    Googling lead me to the at.exe command which seems similar to scheduling in unix.

    Is it possible to schedule the below or is there an easier way to just have a command run on weekdays in windows 7 taskscheduler

    at 02:00 /every:m,t,w,th,f shutdown -s

    Thanks,

    Woden


Comments

  • Registered Users, Registered Users 2 Posts: 5,112 ✭✭✭Blowfish


    When setting the triggers on the task in Task Scheduler, select weekly, rather than daily. You can then set it to run every week on specific days.


  • Closed Accounts Posts: 5,835 ✭✭✭Torqay


    Blowfish wrote: »
    When setting the triggers on the task in Task Scheduler, select weekly, rather than daily. You can then set it to run every week on specific days.

    Exactly. And why use at.exe? In Windows 7, just create a basic task using the wizard.

    uFnjh.jpg

    With older Windows version, use a simple batch file with the desired arguments.


  • Registered Users, Registered Users 2 Posts: 6,560 ✭✭✭Woden


    Nice one. Sorted that out there under "weekly" as you mentioned.

    Cheers,

    Woden


Advertisement