Anyone familiar with automating #rstats scripts via #cron in the terminal? If so, could you help me with a question I have please?https://stackoverflow.com/questions/55547764/cron-not-executing-r-script-file …
-
Show this thread
-
@o_guest,@AlxEtz,@JeffRouder,@JuliaHaaf (I seem to recall at least one of you using cron before, but maybe I am mis-remembering! Sorry if so!)2 replies 0 retweets 3 likesShow this thread -
-
Is there an obvious error here? I've tried it with a python file and it didn't work either!
2 replies 0 retweets 1 like -
-
The fact that my answer is "I don't know" probably means I need to take a step back on all of this and start from scratch...
1 reply 0 retweets 2 likes -
Replying to @JimGrange @o_guest and
Maybe, but you could try putting the absolute path there (> which Rscript)
1 reply 0 retweets 0 likes -
Ah so put that just before where I had "Rscript" before? So: * * * * * > which Rscript /Users/username/Desktop/cron_test/test.R
2 replies 0 retweets 0 likes -
Replying to @JimGrange @o_guest and
Oh, no, run which Rscript to find the absolute path to Rscript, then put THAT there
2 replies 0 retweets 1 like
You can also pass a username as well so it's not root.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.