Cron with interval 1 second, yaml based configs http://gogocron.blindage.org/
go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test1.yml 208B

1234567891011121314
  1. ---
  2. name: "TASK #1"
  3. runsecond: "*/5"
  4. logtype: full
  5. user: vlad
  6. gracefulstop: 30s
  7. env:
  8. - TESTVAR="test variable"
  9. commands:
  10. - whoami
  11. - sleep 3
  12. - head -c 20 /dev/urandom |base64
  13. - ls
  14. - echo $TESTVAR