zliczarka /

Filename Size Date modified Message
396 B
793 B
4.3 KB
341 B
2.7 KB
Usage:
  Pass a date string for the day you want as a parameter (first). It must be 
  ruby-Time.parse-understandable, so passing an -R flag to date is quite reasonable. 
  Also remember to take care of the timezone!

  Example (using zsh):
    ruby dna.rb "`date -Rd yesterday`"
    ruby dna.rb "`TZ="Europe/Prague" date`"

  Sample cron task script also included. Look there for inspiration ;)