user-1220
26-02-2016, 05:54 PM
Hello,
When logged in as my user a linux machine, I am able to run get_iplayer without issue.
When the job triggers from cron, I get a couple of failures. The cron job is setup to run under the same user as I would run it manually.
Running under cron I get:
I commented out that line in the get_iplayer executable, but it just fails a few lines further down:
the cron lines looks like this:
2 * * * * ||myuser|| get_iplayer -f
3 * * * * ||myuser|| get_iplayer --pvr
Any idea what might cause this? I'm sure the user name is right in cron but I can't explain this error. Why does it show the two //? The .get_iplayer folder in my user folder is owned by my user, as are all the files contained within. When I run the command as the user, it creates the lock file without issue...
Thanks!
When logged in as my user a linux machine, I am able to run get_iplayer without issue.
When the job triggers from cron, I get a couple of failures. The cron job is setup to run under the same user as I would run it manually.
Running under cron I get:
Code:
mkdir //.get_iplayer: Permission denied at /home/||myuser||/get_iplayer line 439
I commented out that line in the get_iplayer executable, but it just fails a few lines further down:
Code:
ERROR: Cannot write to lockfile '//.get_iplayer/pvr_lock'
the cron lines looks like this:
2 * * * * ||myuser|| get_iplayer -f
3 * * * * ||myuser|| get_iplayer --pvr
Any idea what might cause this? I'm sure the user name is right in cron but I can't explain this error. Why does it show the two //? The .get_iplayer folder in my user folder is owned by my user, as are all the files contained within. When I run the command as the user, it creates the lock file without issue...
Thanks!