Wolfram as a cron task
Posted: Wed Apr 02, 2014 10:58 pm
Hello all,
Has anyone tried to have a wolfram script run as a cron task? My script runs fine at the command prompt but does not work when setup as a cron task, either as user pi or when using sudo to run crontab.
This line of code:
datTicker = Quiet[FinancialData[inTicker, strStartDate, "Value"]]
gives this error:
TextForm[ColonForm[MessageName[Get, noopen], StringForm[Cannot open `1`., Short[HoldForm[13-48.w], 3]]]]
(13-48.w is the name of my script file.)
Any help would be appreciated.
Has anyone tried to have a wolfram script run as a cron task? My script runs fine at the command prompt but does not work when setup as a cron task, either as user pi or when using sudo to run crontab.
This line of code:
datTicker = Quiet[FinancialData[inTicker, strStartDate, "Value"]]
gives this error:
TextForm[ColonForm[MessageName[Get, noopen], StringForm[Cannot open `1`., Short[HoldForm[13-48.w], 3]]]]
(13-48.w is the name of my script file.)
Any help would be appreciated.