Solved Windows Taks Scheduler problem with network on startup only


Local time
7:17 PM
Posts
36
OS
Windows 11
Hi All,
I have an issue with the Task Scheduler, i am using it to restart a program if the power goes out, this works ok but it wont hook into the network correctly, the program runs but can't see were it should connect to. If i run the task after booting the program, it works fine and get through to the network correctly.

Program is Clipsal Schedule Plus connecting to a static IP from a static IP. If i also have another network cable hooked up (DHCP) it fails to connect to the other network. I tried to delay the task for 5 mins but get the same result. If i manually start the task after rebooting it works fine.

IAny help in pointing me in the right direction would be helpful.
 

My Computer My Computer

At a glance

Windows 11Intel Core i5-1240016Gb128Mb
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Shuttle PC 64Bit
CPU
Intel Core i5-12400
Motherboard
Shuttle PC
Memory
16Gb
Graphics Card(s)
128Mb
Sound Card
internal basic
Monitor(s) Displays
2
Screen Resolution
High
Schedule Plus is a paid specialty app, so it's unlikely most folks here will have a copy.

But I found a tutorial for running Schedule Plus under the task scheduler on another forum.
Schedule Plus on Windows 10
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Thanks, I've already looked and done all that, the program does work if started from the desktop, either from a shortcut or the Task scheduler.
I think it something to do with the PC networking setup/configuration during bootup/reset that is causing the problem, because after that it all works ok if done manually. But i need it to happen automatously.
 

My Computer My Computer

At a glance

Windows 11Intel Core i5-1240016Gb128Mb
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Shuttle PC 64Bit
CPU
Intel Core i5-12400
Motherboard
Shuttle PC
Memory
16Gb
Graphics Card(s)
128Mb
Sound Card
internal basic
Monitor(s) Displays
2
Screen Resolution
High
Maybe you got routing issues, and you have to wait until the correct route is decided. Your other thread has a Raspberry Pi on a different NIC. It's not clear if the Raspberry Pi is offering any routing updates, or acts like a simple network client that doesn't advertise any routing info.

If you have DHCP for the external network, then it might be taking a little too long to get your DHCP configs. If this is mission critical, consider switching to static IP on the other network (or a reserved IP address under DHCP). This way you can hard-code a preferred route or route metric so traffic goes to where you think it should go.

These questions are difficult to answer because there's insufficient details provided on the exact network setup.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Thanks,
Appreciate the reply.
I'll look into what you say.
 

My Computer My Computer

At a glance

Windows 11Intel Core i5-1240016Gb128Mb
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Shuttle PC 64Bit
CPU
Intel Core i5-12400
Motherboard
Shuttle PC
Memory
16Gb
Graphics Card(s)
128Mb
Sound Card
internal basic
Monitor(s) Displays
2
Screen Resolution
High
Back
Top Bottom