jesse-spevack / dotfiles

Jesse Spevack's Dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jesse Spevack's Dotfiles

Handle secret info with: this

Enable the .sh to run by:

  1. Set the script to be executable - chmod 744 ~/codes/dotfiles/backup_dotfiles.sh
  2. Open crontab crontab -e
  3. Add 0 9 * * MON cd ~/codes/dotfiles && ./backup_dotfiles.sh to run the backup_dotfiles script on Monday at 9 am.

Note crontab can be kind of finicky.

I had to define the PATH for crontab, which I did with this script which I found in this stack overflow.

I also had to make sure that the git repo was set up with SSH, which I did with help from this gist

But, now everything works like a charm.

It works

About

Jesse Spevack's Dotfiles


Languages

Language:Shell 100.0%