Skip to content

Instantly share code, notes, and snippets.

@su-narthur
Last active August 10, 2017 14:29
Show Gist options
  • Save su-narthur/30c4bef594a44ceb47f4fa4f6bb6bc52 to your computer and use it in GitHub Desktop.
Save su-narthur/30c4bef594a44ceb47f4fa4f6bb6bc52 to your computer and use it in GitHub Desktop.
Get a caniuse update weekly
$ npm install -g caniuse-cmd # install the caniuse cli
$ caniuse grid layout | mail -s test [email protected] # send a test email
$ crontab -e # open crontab

After opening crontab, add this line and save:

0 5 * * Sun /bin/bash -li -c "/usr/local/bin/caniuse grid layout | mail -s Update [email protected]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment