Walk X Steps Every Y Minutes

Shortcut for Cronios to notify you when you need to walk more.


Description

This shortcut works with Cronios to notify you when you haven't walked enough steps in a certain timeframe.

This shortcut only works on iPhones. iPads do not have access to Health data, so the shortcut quits quietly.

The following options are configurable from the shortcut’s Customize Shortcut… section:

  • Timeframe: The period in minutes to calculate steps (i.e. 30 minutes).
  • Step Minimum: The minimum number of steps to trigger the failure alert.
  • Failure Title: The title to display when the step threshold was not met.
  • Failure Message: The message to display when the step threshold was not met.
  • Success Title: The title to display when the step threshold was surpassed over the timeframe.
  • Success Message: The message to display when the step threshold was met.

To import this shortcut into cron job:

  1. Open Cronios.
  2. Tap Import Crontab…
  3. Copy and paste the following text:
#!# Cronios Crontab

# Remind Me To Walk
*/10 6-20 * * * Walk X Steps Every Y Minutes {{notifyShortcut}} {{lockDetection}}
  1. Tap OK.
  2. Tap Done.
  3. Tap Walk X Steps Every Y Minutes in the Cronios Home screen.
  4. Tap Enable Cron Job.
  5. Tap Cronios Home.
  6. Tap Run Continuously…

This will cause Cronios to call this shortcut every 10 minutes between the hours of 6 AM and 8 PM. Now, we may have set the Timeframe to 30 minutes, but that’s okay, since we will be comparing the shortcut’s last run date (coming in Cronios v1.0.2).

When you run the shortcut from the Shortcut Home, it will display a start/stop menu prompt. Use this as a global start stop for monitoring your step total. If Cronios were to run the shortcut when step monitoring was stopped, it will silently exit this shortcut and not display anything to the user. Use this when you’re starting and ending the day.


Latest Release Notes

1.0.0 - Jan. 15, 2019, 6:34 a.m.

Intial Release


All release notes