Created
September 14, 2014 03:22
-
-
Save paked/aec61d19caf374106141 to your computer and use it in GitHub Desktop.
Gist used with go-fibonacci to make tests
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
#Path to this program | |
THISPROGRAM=/home/pi/programs/fib-gist | |
#Path to go-fibonacci | |
GOFIBONACCI=/home/pi/programs/go-fibonacci | |
#Path to the log file | |
GOFIBONACCILOGFILE=/home/pi/programs/log-everyhour-gist.txt | |
#Shell command to execute go-fibonacci and send its output to the logfile | |
$GOFIBONACCI >> $GOFIBONACCILOGFILE | |
#Ran on this crontab - Runs everyhour on the 30th minute | |
#30 * * * * $THISPROGRAM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment