Tag Info

New answers tagged

1

So I had a couple of issues with my code, the first as AlbertRetey pointed out, was how I set up my cron job. Bad Code: 17 * * * * pi sudo /home/pi/monitorScript.sh Corrected Code: 17 * * * * pi /home/pi/monitorScript.sh Bad Code: data = Import["./ADayRecord.txt", {"Data", {All, {1,2}}}] dataMean = Mean[data] Print[ dataMean[[2]] ] ...


2

That's common in more than one case, for example, python also intercepts signals, but usually it exits, unless it is in interactive mode, where Ctrl C will stop the current computation but not exit the interactive shell. Going back to your problem, if your mathematica script won't need any input, you can redirect /dev/null as input, and then your calling ...


1

Here's one possible way to execute scripts, as it's understood by Mathematica itself (check out ref/program/math for reference). You might just replicate the following instructions for using MiKTeX with Notepad++. The following is mostly a blatant copy of that answer. Make sure you have math.exe in your PATH variable. Create a bat file :: Change drive ...



Top 50 recent answers are included