Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Related operation methods of Schtask scheduling tasks

2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "the relevant operation methods of Schtask planning tasks". Friends who are interested may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "Schtask planning tasks related to the operation of it"!

Schtask method for scheduling tasks

/ sc values {MINUTE, HOURLY, DAILY, WEEKLY, MONTHLY, ONCE, ONSTART, ONLOGON, ONIDLE, ONEVENT}

/ tr run the program path

/ ru the account under which the program runs

When the return result is empty, the scheduled task is not found.

The returned result is "task name", that is, the scheduled task

Remote scheduled Task Management (RPC)

Remote scheduled Task Management (RPC-EPMAP)

Firewall settings (two total)

Check to see if a scheduled task exists

Schtasks / query / s IP address / u user name / p "password" | findstr / c: "Task name"

Create a scheduled task

Schtasks / create / s IP address / u user name / p "password" / tn "Task name" / sc schedule Frequency / tr run Program path / ru "run account" / f

Run scheduled tasks

Schtasks / run / s IP address / u user name / p "password" / I / tn "Task name"

Delete scheduled task

Schtasks / delete / s IP address / u user name / p "password" / tn "task name" / f so far, I believe you have a deeper understanding of "the relevant operation methods of Schtask planning tasks". You might as well do it in practice! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report