User Tools

Site Tools


wio:wio-crontab-en

Deutsche VersionEnglish Version

WIO Crontab

Format

Filename: crontab

Only Unix linefeeds are allowed *1)

Uploading files can be done with a WEB Browser as explained here:
Upload by WEB Browser

The positions of the values are fixed.

hh mm T nn vvv
Field Value Remark
hh hour Must be two digits, 64 (0x40) is @reboot,96 (0x60) is relativ after boot, 32 (0x20) is model time.
mm minute Must be two digits
T scripttype L=LED, I=IO
nn script number Must be two digits
vvv value
  • Maximal 10 lines are allowed in the crontab file.
  • Only one at a certain time.
  • Only one @reboot.

Hour Flags

Hex Dec Function
0x20 32 Model time
0x40 64 @Reboot
0x60 96 Relative to boot time

The hour can be added to the flags.
Example Model time 10:30 → hh = 32 + 10 = 42

@Reboot and relative Time after Reboot

Example:

64 00 L 04 001
96 01 L 04 000

Starts LEDScript 04 at startup and stops it 1 minute after startup

10:20 NTP Time

Example:

10 20 I 12 001

Starts IOScript 12 at 10:20 local time. (NTP)

10:45 model Time

Example:

42 45 I 19 001
42 46 I 19 000

Starts IOScript 19 at 10:45 model time and stops it at 10:46 model time.

*1) Unix Linefeed with Windows

Download the notepad++ Editor and start it
- Set View / Show Symbol / Show End of Line
- Set Edit / EOL Conversion to Unix (LF)

wio/wio-crontab-en.txt · Last modified: 2022/12/03 10:25 by rjversluis