Run a macro automatically every Minute

Jerrynbr

New member
Hi,
I would like to Run a macro automatically every Minute.
I have tried to do the same using stopwatch and time interval in the trigger section.
But so far nothing seems to work.
 

hsurB

Well-known member
What exactly your macro does? Both triggers seem to be working fine for me so maybe share a screenshot
 

Qarboz

Well-known member
Hi,
I would like to Run a macro automatically every Minute.
I have tried to do the same using stopwatch and time interval in the trigger section.
But so far nothing seems to work.
In Regular Interval trigger, don't flag "Use reference start time" and flag "Use alarm"
And verify you don't have battery optimization enabled for MacroDroid in Android settings
 

Jerrynbr

New member
i am using a macro to send sms to users based on data from google sheet.
I would like to macro to run every minute so that it can check for any new items in google sheet and send an sms as soon as it comes up
 

hsurB

Well-known member
In this case you have to manually start the stopwatch to run the macro or click test macro/test actions, are you aware of this? And you have multiple wait before next actions inside a macro what will make it fire at different intervals every time or maybe it will even run macro before its finished (if there is a lot of entries)
I'd use interval trigger or put all actions inside a loop and add wait before next actions 1 minute - in way that it performs all actions and waits 1 minute before runing all of them again.
But then you have to create another macro to disable/enable this or you have to manually do it every time.

Or if you wanna stick with stopwatch make it so it was reseting and stopping stopwatch at the start of your macro and starting it at the end. Then it will be triggering 1 minute after finishing all actions
 
Last edited:

Jerrynbr

New member
I have changed to interval trigger of 1 minute. However the macro is not starting automatically in one minute. (attached Screen shot)
 

Attachments

  • Screenshot_20231204-144148.png
    Screenshot_20231204-144148.png
    187.7 KB · Views: 10

hsurB

Well-known member
I have no idea, since it works perfectly for me. You could try something simple like pop up message every 10s just to test the trigger out. Anyway I guess you should use report bug option that you will find in menu that opens on the left on main macrodroid screen (troubleshooting).
And for now try other methods since as I said - you use multiple wait before next action and it might cause problems with regular interval if you have a lot of entries
 
Top