At command implementation Add task schedule

Source: Internet
Author: User

At 20:18/every:m,t,w,th,f,s,su cmd/c "Exp system/wubin@fkjdgl owner=fkjdgl file=c:/at.dmp log=c:/at.log"

Where: Time is the time that the task runs each time. Double quotes inside the contents of the task.

Problem: When I set the path of file to mapped drive z:/, the task always does not execute, depressed. But in the graphical interface, adding a bat (a part of the quotation marks into a bat file) can be performed on the task, and the network map path can be found.

Comparison: I compared the tasks created with commands to the tasks created under the graphical interface, and found that they run differently. The tasks created under the graphical interface run as "This machine name/administrator" and command creation runs as "NT Authority/system".

Workaround: "Start"-> "Task Scheduler"-"advanced"-"at Service Account" Select "This Account" to enter a password.

You can run it on a network drive later by creating a task from a DOS command.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.