Skip to content

Instantly share code, notes, and snippets.

@blackymetal
Last active February 4, 2016 14:53
Show Gist options
  • Select an option

  • Save blackymetal/1e2abdcf9320c4cb02a2 to your computer and use it in GitHub Desktop.

Select an option

Save blackymetal/1e2abdcf9320c4cb02a2 to your computer and use it in GitHub Desktop.
Taken from http://stackoverflow.com/questions/15395479/why-ive-got-no-crontab-entry-on-os-x-when-using-vim
1- In Terminal: crontab -e.
2- Press i to go into vim's insert mode.
3- Type your cron job, for example:
30 * * * * /usr/bin/curl --silent --compressed http://example.com/crawlink.php
4- Press Esc to exit vim's insert mode.
5- Type ZZ (must be capital letters).
6- Verify by using crontab -l.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment