Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@Joe-Klauza Joe-Klauza released this 03 Mar 23:47

Add crontab support and logging

  • Add crontab support via flag for crontab-formatted file

  • Add logging with zap SugaredLogger, allowing the library to be used with the user's logger (none by default)

  • Add command line flags

    -cronfile string
          Path to crontab file for scheduled commands
    -debug
          Enable debug logging
    -f string
          Path to crontab file for scheduled commands (short)
    -n    Disable REPL mode (e.g. when using --cronfile) (short)
    -norepl
          Disable REPL mode (e.g. when using --cronfile)
  • Update README.md with new flags, output, and crontab example