Results 1 to 15 of 15
  1. #1
    4 Star Lounger
    Join Date
    Aug 2011
    Posts
    460
    Thanks
    1
    Thanked 33 Times in 33 Posts

    Task Scheduler doesn't end program after 4 hours

    Have a simple audio recording program, needs to record 4 hrs each weekday.

    Got it to start the program ok but the setting that says to end this program if it continues for a certain length of time is not working, it just goes on and on recording all day. What am I missing?

    Also, in XP there is a detailed daily task schedule so that I could exclude weekend recording, is that in the Win 7 settings somewhere that I can't find?

    For everyone who beats on about how superior W7 is, raspberries! And for help, thanks.

  2. #2
    4 Star Lounger
    Join Date
    Aug 2011
    Posts
    460
    Thanks
    1
    Thanked 33 Times in 33 Posts
    Found the daily task schedule....now just need it to stop the task after 4 hours...

  3. #3
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,434
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    Infinicore,

    Did you check the "If the running task does not end when requested, force it to stop" option?
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  4. #4
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,572
    Thanks
    5
    Thanked 1,057 Times in 926 Posts
    Look the Settings tab on the Properties of the task in Task Scheduler.

    Joe

  5. #5
    4 Star Lounger
    Join Date
    Aug 2011
    Posts
    460
    Thanks
    1
    Thanked 33 Times in 33 Posts
    set-tab.PNGedit trigger.PNG

    Have a look. I didn't have the end task if runs longer than... setting set in the edit trigger settings. Looks like the same thing but maybe it will apply next time or it needs both? Find out I guess.

  6. #6
    4 Star Lounger
    Join Date
    Aug 2011
    Posts
    460
    Thanks
    1
    Thanked 33 Times in 33 Posts
    Still have the runaway recording machine, the Edit trigger setting did not do the trick.

  7. #7
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,434
    Thanks
    372
    Thanked 1,457 Times in 1,326 Posts
    Infinicore,

    Ok, here's a shot-in-the-dark. Have you tried runnig the program in XP compatibility mode? From your OP I gather that you were using this program under XP successfully so this might change something that will allow it to shut down when instructed by task manager.
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  8. #8
    4 Star Lounger
    Join Date
    Aug 2011
    Posts
    460
    Thanks
    1
    Thanked 33 Times in 33 Posts
    I don't think that's going to work because I had to upgrade the program to the latest version in order for it to work with the Windows 7 audio subsystem but I set it anyway, see what happens. At least its a nice quiet recording, little if any RF interference.
    This problem reminds me more of a legacy problem from Vista, where task scheduler, from my experience, was pretty much broken and useless.

  9. #9
    4 Star Lounger
    Join Date
    Aug 2011
    Posts
    460
    Thanks
    1
    Thanked 33 Times in 33 Posts
    Now I see task manager is running two (2) instances of RecordPad (the program in question)..and neither one is being terminatated!

  10. #10
    Gold Lounger Roderunner's Avatar
    Join Date
    Dec 2009
    Location
    Scotland.
    Posts
    3,462
    Thanks
    16
    Thanked 216 Times in 183 Posts
    Try this Infinicore, I know it works. Task Scheduled Restart.pdf
    O wad some Power the giftie gie us, to see oursels as ithers see us!

  11. #11
    4 Star Lounger
    Join Date
    Aug 2011
    Posts
    460
    Thanks
    1
    Thanked 33 Times in 33 Posts
    Thanks but I don't feel like going back to the stone age of computing. I also tried multiple starts of the program at predetermined intervals with the program set to just end the recording and NOT begin a new--essentially letting the task scheduler do that, and maybe it would work if I rebooted but I'm also tired of getting nothing but a fudge packing from Win7.
    So I loaded a VM of old rusty trusty XP and the old version of the program and its picking right up on the audio I want to record so I'm going to see if the VM's task scheduler is as flawless as the real thing and go from there. Jeez is it bad luck or is the task scheduler in Vista and Win7 crap?

  12. #12
    Gold Lounger Roderunner's Avatar
    Join Date
    Dec 2009
    Location
    Scotland.
    Posts
    3,462
    Thanks
    16
    Thanked 216 Times in 183 Posts
    Wishing you good luck, hope you don't need it.
    O wad some Power the giftie gie us, to see oursels as ithers see us!

  13. #13
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,572
    Thanks
    5
    Thanked 1,057 Times in 926 Posts
    Quote Originally Posted by Infinicore View Post
    Thanks but I don't feel like going back to the stone age of computing. I also tried multiple starts of the program at predetermined intervals with the program set to just end the recording and NOT begin a new--essentially letting the task scheduler do that, and maybe it would work if I rebooted but I'm also tired of getting nothing but a fudge packing from Win7.
    So I loaded a VM of old rusty trusty XP and the old version of the program and its picking right up on the audio I want to record so I'm going to see if the VM's task scheduler is as flawless as the real thing and go from there. Jeez is it bad luck or is the task scheduler in Vista and Win7 crap?
    I can't find anything about tasks failing to stop. Are you creating tasks and making changes logged in with an account that is a member of the admin group? Are you running with an account that is a member of the admin group?

    Joe

  14. #14
    4 Star Lounger
    Join Date
    Aug 2011
    Posts
    460
    Thanks
    1
    Thanked 33 Times in 33 Posts
    Yes, admin, highest privileges, and using the start task regardless of being logged in or not (profile password required).
    I've got the same settings now entered into the VM task scheduler (as closely as they can be duplicated), both the host and the VM started the respective application on schedule...just waiting for the cutoff time.

    Going by the audio meters it looks like there is just a slight delay (200 milliseconds maybe) to the VM but that shouldn't matter in the least as long as its audio only.

  15. #15
    4 Star Lounger
    Join Date
    Aug 2011
    Posts
    460
    Thanks
    1
    Thanked 33 Times in 33 Posts
    VM-PERFECT W7-FAIL again.

    Like I said before, don't know if its just my bad luck with program-OS integration, but I've never been able to get Vista or Win7 TS to comply to my exacting demands, and XP makes it look effortless.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •