Re: DIY-Actions: Execute Command, Execute Root Command
Posted: 02 Sep 2013 16:09
Hi,
Ensure to add a trigger to the flow first since this will provide the variable triggertime to the flow. The variable selection dialog should contain some example formats (when editing the action: Menu->Select Variable).
You can get the formatted time and date as follows:
/mnt/sdcard/screencap_{triggertime,dateformat,yyyyMMdd_HHmmss}.png
Please also check this page: Date Format Pattern
Regards,
Martin
Ensure to add a trigger to the flow first since this will provide the variable triggertime to the flow. The variable selection dialog should contain some example formats (when editing the action: Menu->Select Variable).
You can get the formatted time and date as follows:
/mnt/sdcard/screencap_{triggertime,dateformat,yyyyMMdd_HHmmss}.png
Please also check this page: Date Format Pattern
Regards,
Martin