Play music files using Windows Scheduled Tasks

Source: Internet
Author: User

This question can be found on the Internet many answers, but there are some small details are not accounted for, and I usually rarely use the scheduled task, so the configuration has a point of problem, hereby note.

1. Player

Check what the default player is for the target file under the current system, and make sure that it can run.

For example, when you run WMP for the first time, you should make sure that you have made these basic configurations before you perform the scheduled tasks.

2. Add a Scheduled task

Select Create Basic task, and then follow the wizard.

When you configure the step for what you want the task to do, select the default startup program.

In the next program or script, specify the target file that needs to be played directly, such as: C:\papillon.mp3, without filling in parameters, the scheduled task will be played using the player in step 1.

Note: Of course, you can also specify the EXE program, and then specify the target file in the parameters, the effect is the same.

3. Property settings

Under the General tab, if you want to run without logging in, you need to select the second item.

If you have a lot of playback tasks in a day, be aware of the following settings:

Under the Settings tab, tick "if the task runs longer than the following time, stop the task" and adjust the time to a shorter value, such as 10 minutes, enough to play the sound file.

The purpose of this is to fail when the new playback task runs without a running conflict with an existing instance.

The task configuration is complete.

Other:

As you can see under the General tab, even WIN10, the default configuration for scheduled tasks is the same, and you do not know what the differences are for these configurations.

Optional configuration:

Play music files using Windows Scheduled Tasks

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.