I need to create an app that will run an executable at 3 given time (8am, 12pm, and 4 pm).

Can anybody tell me how to start? Thanks!!!!

Recommended Answers

All 3 Replies

Hi,

Put it in the Windows Scheduler,
Add 3 tasks in Scheduled Task for 3 different times.
Available in Control Panel, Scheduled Task.

Regards
Veena

unfortunately. the scheduler isn't an option. this is a project for work, on a network, and i don't have permissions to use the scheduler

Hi,

In that case, Keep a Timer Interval =60000 ( equals 1 Min)

In Timer1_Timer event, check the time using Now, If It is either one of the time, then using Shell command AppActivate the required exe.

For this u have to keep this exe continiously running.

Regards
Veena

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.