- Select the task which you want to get a back up. And click on the Export link
- Then export the task as a xml file.
- Ten again you should write a .bat file to load this xml file to the Windows task scheduler.
Your batch file
will be something like this:
@echo off echo Importing All Tasks echo. schtasks /create /RU SYSTEM /TN "php_mail_sender" /XML "C:\wamp\www\TS\php_mail_sender.xml" echo. echo Importing Done echo. Pause
- Then by simply run this batch file you can add this task to your Scheduler.
No comments:
Post a Comment