简体   繁体   中英

windows - How to stop cron job of .bat file?

i have used it . but now it is pouping up again and again how to stop it

To create the batch file

Open Notepad. Paste the line "C:\\xampp\\php\\php.exe C:\\wamp\\www\\index.php" Click "File" -> "Save As" Ensure "Save as type:" is set to "All Files" Save the file as "cron.bat" to your C drive To schedule the batch file to run

Open Command Prompt Paste the following "schtasks /create /sc minute /mo 1 /tn "PHP Cron Job" /tr C:\\cron.bat" Press Enter

Try

schtasks /Delete 

More could be found here

What happened is you created a scheduled task to run each minute. So it is doing what you said it to do. If you want to remove it, use above command.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM