Home
Forum
Software
Mouser's Software
NANY: New Apps for the New Year
Friends of DC
Forum Coding Snacks
Editorials
Daily Blog
Monthly Newsletter
Mini Reviews
Favorite Websites
Archives
Articles
Historical Archives
Testimonials: What Folks Say About Us
Licensing
Get a License Key
Commercial Licensing
Help
Search
FAQs
DonationCoder Sitemap
Live Chat (Discord)
Contact Us
About Us
Donate
Home
Forum
Software
Mouser's Software
NANY: New Apps for the New Year
Friends of DC
Forum Coding Snacks
Editorials
Daily Blog
Monthly Newsletter
Mini Reviews
Favorite Websites
Archives
Articles
Historical Archives
Testimonials: What Folks Say About Us
Licensing
Get a License Key
Commercial Licensing
Help
Search
FAQs
DonationCoder Sitemap
Live Chat (Discord)
Contact Us
About Us
Donate
This topic
This board
Entire forum
Website and forum (google)
Member search
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
6 Months
Forever
Login with username, password and session length
Friday December 13, 2024, 11:42 am
Proudly celebrating 15+ years online.
Donate now
to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
Forum Home
Search
Login
Register
Recent Topics
Go To..
Recently updated topics
Recent posts (compact)
Recent posts (full text)
DonationCoder.com Forum
»
Main Area and Open Discussion
»
General Software Discussion
»
Scheduled Shutdown after backup?
« previous
next »
New Topic
Print
Pages: [
1
] •
bottom
Author
Topic: Scheduled Shutdown after backup? (Read 6624 times)
nwtim
Participant
Joined in 2005
Posts:
6
Scheduled Shutdown after backup?
«
on:
December 01, 2005, 03:03 PM »
I have local project files xcopied to a fileserver daily using XP's built-in task scheduler. I'd like to have it done unattended after I've left for the day but I'd like to shut down the computer after all the scheduled tasks are completed. Is there a simple way to do this?
Thanks!
Carol Haynes
Waffles for England (patent pending)
Global Moderator
Joined in 2005
Posts:
8,069
Re: Scheduled Shutdown after backup?
«
Reply #1 on:
December 01, 2005, 04:04 PM »
You could use shutdown.exe
If you have Windows XP you will find it in C:\Windows\System32
To shutdown your system you could set up a scheduled task but you will need to edit the command's properties and add the -s switch to the command line so that it says:
C:\Windows\System32\shutdown.exe -s
note the space before the -s.
If you want to look at more options you can open a DOS window and simply type shutdown
all the command options will be displayed.
If you want it to execute immediately after the backup command finishes you may need to put bothe the backup and shutdown commands in a batch file and schedule that instead.
PhilKC
Charter Member
Joined in 2005
Posts:
117
Re: Scheduled Shutdown after backup?
«
Reply #2 on:
December 01, 2005, 04:13 PM »
Make a batch file and point the scheduler to that:
@ECHO OFF
C:\Program Files\Backup.exe
SHUTDOWN -s -t 0
Due to the way batch files are processed (in series), it wont start the shutdown sequence until Backup.exe has closed/finished
PhilKC
It's not a bug, it's an undocumented and unexplainable feature.
Stick it on your site:
nwtim
Participant
Joined in 2005
Posts:
6
Re: Scheduled Shutdown after backup?
«
Reply #3 on:
December 01, 2005, 10:20 PM »
Shutdown.exe huh? I can't believe I didn't know that existed!
Thank you!
Tim
New Topic
Print
Pages: [
1
] •
top
« previous
next »
DonationCoder.com Forum
»
Main Area and Open Discussion
»
General Software Discussion
»
Scheduled Shutdown after backup?