Tips for efficient work, using vbs scripts to realize scheduled task pop-up reminders¶
Original link: https://www.itylq.com/vbs-task-scheduler.html
Release date: 2022-10-05 Migration time: 2026-03-21
There are too many complicated things, and it is always easy to forget some things that must be done during the busy work process, such as regularly submitting weekly work reports, regularly inspecting IT equipment, and timing... In addition to installing clumsy computer alarm clock desktop software, there is a simpler way to achieve it, which is to write a simple VBS script, and then cooperate with the task scheduler that comes with Windows to realize regular pop-up reminders.
1 VBS scripting¶
The vbs script command is very simple. Create a new txt document and copy the code below:
msgbox "It's time! Update the website sitemap.txt quickly!!"&vbCrLf&"---www.itylq.com---",,"sitemap.txt weekly update task"
Remarks:
(1) The command format of the VBS pop-up window is msgbox "pop-up message topic",, "pop-up window title";
(2) "vbCrLf" is the forced line break character in vbs;
(3) The txt is saved as a document in .vbs format. In order to prevent garbled characters in Chinese, select "ANSI" for encoding.
2 Task Scheduler Settings¶
After opening the task scheduler, create a new task, edit the trigger, set the vbs script execution frequency monthly/weekly/daily and execution time, and bind the vbs script in the "Action" column.

3 Achieve the effect¶

VBS pop-up messages are displayed in the middle of the screen by default, which is simple and efficient. You no longer have to worry about forgetting some things that must be processed~
This article was moved from WordPress to MkDocs