Created
February 22, 2017 16:12
-
-
Save irJERAD/ab904d5db917f9f7eab5a660b3ae5730 to your computer and use it in GitHub Desktop.
Automate your R Script to run on a schedule, Initiate during 1 specific minute a year or once every minute. Great for web scraping and any data collection. Change `com.file.name` to com.YourFilesActualName (without the .sh at the end). Path should be to your shell script. Only need to keep the arguments you use: so once per hour would just requi…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.file.name</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/Path/to/shell/script/rShellScript.sh</string> | |
</array> | |
<key>StartCalendarInterval</key> | |
<dict> | |
<key>Month</key> | |
<integer>11</integer> | |
<key>Day</key> | |
<integer>03</integer> | |
<key>Hour</key> | |
<integer>23</integer> | |
<key>Minute</key> | |
<integer>03</integer> | |
</dict> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment