Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Re: scheduled tasks / cron jobs under Vista

Reply
Thread Tools Display Modes

Re: scheduled tasks / cron jobs under Vista

 
 
Jon
Guest
Posts: n/a

 
      11-12-2009
"John Goche" <> wrote in message
news:e8fc4833-2cce-41a1-a620-...
>
> Hello,
>
> In Unix there are services called cron jobs which basically
> are nothing more than processes scheduled to run
> routinely every so often. I think these are called
> scheduled tasks. So how do I set up a scheduled
> task under Windows Vista Home Premium so that
> for instance every day around 11:30 PM my laptop
> powers off whenever I have left it switched on (so
> that it does not wake up anybody in the middle of
> the night which has been happening to me).
>
> Thanks,
>
> John Goche



Yep, they're called 'Scheduled Tasks' in Windows. You can set them up via
'Task Scheduler'.

Click 'Start' button > Type 'Task Scheduler' > Click the program that
appears above.

Scheduling the 'shutdown' process is one possibility

Start button > cmd > shutdown /?

Also

Start button > Help and Support > Click the links to find out more ...

--
Jon



 
Reply With Quote
 
 
 
 
Jon
Guest
Posts: n/a

 
      11-22-2009
"John Goche" <> wrote in message
news:c4d45ec6-dda0-41d4-94e4-...

>Thank you for your reply.
>I have managed to bring up the Task Scheduler.
>Could you please be more specific on how you must proceed after this?
>I am not really experienced under Windows.





See if this article helps

Schedule a task
http://windows.microsoft.com/en-US/w...chedule-a-task

NB You can find the same information by searching in 'Help and Support' (on
your start menu) for 'Scheduled tasks'

--
Jon



 
Reply With Quote
 
Jon
Guest
Posts: n/a

 
      12-01-2009

You basically need to pass 'arguments' to your main executable
(shutdown.exe). If you have a Linux background then you're perhaps familiar
with these eg in bash shell commands.

You can see the list of possibilities via

Start button > type 'cmd.exe' > shutdown /?

If you double-click your task in the right pane in Task Scheduler, go to the
'actions' tab and click 'edit', then you can add arguments on the line 'Add
arguments (optional)

eg adding

/s /t 0

looks promising for an instant shutdown.


--
Jon


"John Goche" <> wrote in message
news:ddbbf0ad-02f6-4ce7-96ef-...


Thank you for your reply. I have in fact run "Task Scheduler" from the
start menu
and created a task called "Shut Down Computer" and specified the
executable
C:\Windows\System32\shutdown.exe

However all this did was pop up a black command window after which no
shutdown of the computer took place.

Can anyone tell me what I did wrong?

Thanks,

John Goche

 
Reply With Quote
 
Jon
Guest
Posts: n/a

 
      12-01-2009
Glad you sorted it. Ignore the post below. I should have downloaded a few
more headers before posting.

--
Jon


"John Goche" <> wrote in message
news:be32b10d-8e93-4df4-ad3c-...
> On Nov 29, 4:35 pm, John Goche <johngoch...@googlemail.com> wrote:
>
>> C:\Windows\System32\shutdown.exe

>
> Thank you all for your help. Just to close this thread...
> I checked this program from the command line
> and found out that all that was missing was a
> switch:
>
> C:\Windows\System32\shutdown.exe /s
>
> Best Regards,
>
> John Goche


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two problems resulting from failed dual boot install lysander Windows Vista Installation 6 03-03-2010 02:26 AM
dual boot xp and vista...with vista recovery dvd VS Windows Vista Installation 16 05-05-2007 12:05 PM
Can Vista be installed on top of itsself? Jeff Ingram Windows Vista Installation 5 03-20-2007 08:48 PM
Installing Vista on top of Vista - and then getting an Installation Error (Sony Vaio VGC-RB38G) Chris Hagler Windows Vista Installation 4 02-16-2007 02:42 AM
Activation problem. Brett Windows Vista Installation 5 02-08-2007 10:21 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59