I have been going in circles with google (AI probably) for several weeks. Google always congratulates me for creating a great macro and it seems to work in testing but never in reality.
What I’m attempting is to create a macro that will run a shortcut to trigger a Time Machine backup if more than 24 hours has elapsed and my laptop is connected to my home wifi network. So far they have failed to trigger the shortcut even though it’s been much more than 24 hours since the last time the laptop was running.
My current macro-
run TM backup
Triggered by any of the following:
• Wireless Network “toadsongfarm” is Connected
Will execute the following actions:
• Pause Until Any Condition Met
• The calculation “UPTIME() > 120 ” returns true (non-zero)
•
• Pause for 30 Seconds
• Notify on failure.
•
• If All Conditions Met
• The calculation “NOW() - LastWifiTriggerTime < 86400” returns true (non-zero)
• Execute the Following Actions:
• Cancel This Macro
•
•
• Execute Shell Script
• shortcuts run "Time Machine Network Check" Stop macro and notify on failure.
•
• Set Variable “LastWifiTriggerTime” to Text
• %Calculate%NOW()%
Each action seems to test fine but if I boot the laptop after several days the macro doesn’t work. Could really use some advice???
