Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

Use Launchd to run Rsnapshot daily

// run rsnapshot daily at 3am

   1  
   2  <?xml version="1.0" encoding="UTF-8"?>
   3  <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
   4  <plist version="1.0">
   5  <dict>
   6          <key>Label</key>
   7          <string>local.my-mac.rsnapshot-daily</string>
   8          <key>ProgramArguments</key>
   9          <array>
  10                  <string>/opt/local/bin/rsnapshot</string>
  11                  <string>daily</string>
  12          </array>
  13          <key>StartCalendarInterval</key>
  14          <dict>
  15                  <key>Hour</key>
  16                  <integer>3</integer>
  17          </dict>
  18  </dict>
  19  </plist>
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS