1.

Solve : CPU usage during batch execution?

Answer»

If I write a batch to loop constantly in order to check a change in VALUE, it will DRIVE the CPU usage up to 100%. Other than using AT or SLEEP, can I make it a less intensive PROCESS? How does AT work without visible CPU usage anyhow?The AT command works with your SYSTEM's Scheduled Tasks, by adding whatever to the list of Tasks to do.

Instead of sleep try the Ping command for use as a wait command:
Code: [Select]ping -n 1 -w <Time to wait> 1.1.1.1
The ping command measures in milliseconds so:
1000 would be the same as 1 second.



Discussion

No Comment Found