isn’t working
echo %date% %time% schtasks /create /sc daily >> Logs.txt
to have record of executed schtasks with date and time
Mon 05/20/2024 14:38:31.60 SUCCESS: The scheduled task sdf
Mon 05/20/2024 14:38:31.60 SUCCESS: The scheduled task sd
Mon 05/20/2024 14:38:31.60 SUCCESS: The scheduled task fse
Mon 05/20/2024 14:38:31.60 SUCCESS: The scheduled task ser
Mon 05/20/2024 14:38:31.60 SUCCESS: The scheduled task tes
Mon 05/20/2024 14:38:31.60 SUCCESS: The scheduled task 1
Mon Dez is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.