![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-27 01:27 |
47,812 topics / 349,912 posts / today 2 new / 48,264 members |
| 其它操作系统综合讨论区 » [Discussion] How to specify the date to run a program |
| Printable Version 1,943 / 12 |
| Floor1 lkflsj | Posted 2007-02-28 22:59 |
| 新手上路 Posts 7 Credits 16 | |
|
For example, specify to run 38.exe at 11:00 on 2007/03/08
|
|
| Floor2 Climbing | Posted 2007-02-28 23:24 |
| 铂金会员 Posts 2,753 Credits 6,962 From 河北保定 | |
|
Using task scheduler, if it's under Windows.
|
|
| Floor3 lkflsj | Posted 2007-02-28 23:24 |
| 新手上路 Posts 7 Credits 16 | |
|
Top!!
No one answers ah! |
|
| Floor4 lkflsj | Posted 2007-02-28 23:25 |
| 新手上路 Posts 7 Credits 16 | |
|
How to do it with AT commands
|
|
| Floor5 Climbing | Posted 2007-02-28 23:29 |
| 铂金会员 Posts 2,753 Credits 6,962 From 河北保定 | |
|
at /?
Add practice. |
|
| Floor6 lkflsj | Posted 2007-02-28 23:37 |
| 新手上路 Posts 7 Credits 16 | |
|
I saw
Used at /next:2007/02/28 10:25 f:/38.exe But the task couldn't start after the time came |
|
| Floor7 xycoordinate | Posted 2007-02-28 23:40 |
| 中级用户 Posts 228 Credits 493 From 安徽 | |
| Floor8 lkflsj | Posted 2007-02-28 23:52 |
| 新手上路 Posts 7 Credits 16 | |
|
Is it that my command is wrong, or what's going on? It can't run.
|
|
| Floor9 lkflsj | Posted 2007-03-01 00:27 |
| 新手上路 Posts 7 Credits 16 | |
|
Who can teach me. Thanks
|
|
| Floor10 Climbing | Posted 2007-03-01 01:19 |
| 铂金会员 Posts 2,753 Credits 6,962 From 河北保定 | |
|
I also don't quite understand how to use the command-line parameters of AT, but it's generally like this:
d:\>at 12:30 /next:28 "dir" A new job has been added, and its job ID = 1 d:\>at Status ID Date Time Command line ------------------------------------------------------------------------------- 1 Next execution date: 28 12:30 dir |
|
| Floor11 lkflsj | Posted 2007-03-01 04:56 |
| 新手上路 Posts 7 Credits 16 | |
|
Thank you. But I need to specify a certain day to run!
|
|
| Floor12 Climbing | Posted 2007-03-02 01:43 |
| 铂金会员 Posts 2,753 Credits 6,962 From 河北保定 | |
|
The AT command does not have the function to specify a specific day. Please use the task scheduling command schtasks to operate.
|
|
| Floor13 Climbing | Posted 2007-03-02 02:13 |
| 铂金会员 Posts 2,753 Credits 6,962 From 河北保定 | |
|
URL: http://www.soft6.com/know/detail.asp?id=BAAHAJ
At Lists scheduled commands or scheduled commands and programs that are running on the computer at the specified time and date. The at command can only be used if the "Scheduling" service is running. at | /delete ] at time | /next:date] command Parameters: None When used without parameters, at lists scheduled commands. \\computername Specifies a remote computer. If this parameter is omitted, the command is scheduled on the local computer. id Specifies the identification number assigned to the scheduled command. /delete Cancels a scheduled command. If id is omitted, all scheduled commands on the computer are canceled. /yes Forces a positive response to the system's query when deleting a scheduled event. time Specifies the time to run the command. Express the time in 24-hour format (00:00 to 23:59) as hours:minutes. /interactive Allows the job to interact with the desktop of the logged-on user when the job runs. /every:date Runs the command on the specified day(s) of the week or month (for example, every Thursday, or the third day of each month). Specify date as one or more days of the week (M,T,W,Th,F,S,Su) or one or more days of the month (using numbers from 1 to 31). Separate multiple date entries with commas. If date is omitted, the current day of the month is assumed. /next:date Runs the specified command on the next occurrence of the day (for example, next Thursday). Specify date as one or more days of the week (M,T,W,Th,F,S,Su) or one or more days of the month (using numbers from 1 to 31). Separate multiple date entries with commas. If date is omitted, the current day of the month is assumed. command Specifies the Windows 2000 command, program (.exe or .com file), or batch program (.bat or .cmd file) to run. When the command requires a path as an argument, use an absolute path, that is, the entire path starting from the drive letter. If the command is on a remote computer, specify the UNC notation for the server and share name instead of the remote drive letter. If the command is not an executable (.exe) file, you must prefix the command with cmd /c, for example: cmd /c dir > c:\test.out |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |