Running exe on Task scheduler
Posted: Wed Nov 22, 2023 1:29 pm
Roger,
We run exe's on task schedulers at many locatons. Most not a problem, never stop.
What we are trying to accomplish is to write out an error log (ie, like in errorsys.prg) but with no prompts, just close the exe.
We can then trouble shoot why an exe gets hung up, which does occur at a location that has 3 running. The task on task scheduler has to be stopped and then started. Then always works for another week or so.
The temperr.log file ( or whatever we want to call it) should help, as will closing so the backup can run without stopping at the same place. We have the same exe running as a backup and closes immedidately if it sees the other one running.
Fred
Omni
We run exe's on task schedulers at many locatons. Most not a problem, never stop.
What we are trying to accomplish is to write out an error log (ie, like in errorsys.prg) but with no prompts, just close the exe.
We can then trouble shoot why an exe gets hung up, which does occur at a location that has 3 running. The task on task scheduler has to be stopped and then started. Then always works for another week or so.
The temperr.log file ( or whatever we want to call it) should help, as will closing so the backup can run without stopping at the same place. We have the same exe running as a backup and closes immedidately if it sees the other one running.
Fred
Omni