Author Topic: running a command on a specific time  (Read 998 times)

Incurable-Rash

  • Full Member
  • ***
  • Posts: 181
running a command on a specific time
« on: June 11, 2020, 09:58:00 PM »
I was wondering if there is a way to get a command to run using a day of the week and time

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4759
  • RTFM
Re: running a command on a specific time
« Reply #1 on: June 11, 2020, 10:28:41 PM »
Assuming your computer is on at the appropriate time, that's something Windows task scheduler can do, if you have it execute VoiceAttack with the "-command" argument (and the "-profile" argument if you run multiple profiles and the target command isn't available in all of them).

Incurable-Rash

  • Full Member
  • ***
  • Posts: 181
Re: running a command on a specific time
« Reply #2 on: June 13, 2020, 12:19:46 PM »
if VA is running can it be run from inside VA profile. The command would look like reset at 12:05 am every Thursday or something like that
 

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4759
  • RTFM
Re: running a command on a specific time
« Reply #3 on: June 13, 2020, 01:29:20 PM »
There is no method for triggering a command at a specific time, so you'd have to have a command looping in the background that checks the current time and executes a command if it matches the parameters you set (do make sure the loop doesn't come around again while the time still matches; E.G. by pausing the command for slightly over a minute after).