schedule time run at seconds

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
amibayiu
Newbie
Posts: 1
Joined: Mon Aug 14, 2017 8:04 am

schedule time run at seconds

Post by amibayiu » Mon Aug 14, 2017 11:18 am

Hi:

Now the schedule time run when specific times set at 03:30 pm ,but how to set to this format: e.g. 03:30:59 pm?
Or could you provide the code or custom script to achieve that, I know the trigger configuration only set at 03:30 pm in present vesion.

Thanks

User avatar
JRL
Automation Wizard
Posts: 3497
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Re: schedule time run at seconds

Post by JRL » Mon Aug 14, 2017 12:52 pm

Put something like this at teh top of your script.

Code: Select all

Label>SecondsLoop
  Sec>vSeconds
  If>vSeconds=59
    Goto>LeaveSecondsLoop
  EndIf
  Wait>0.1
Goto>SecondsLoop

Label>LeaveSecondsLoop

//The rest of the script

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts