[mythtvnz] Script help please

tortise tortise at paradise.net.nz
Mon Jan 6 05:45:08 GMT 2014


Hi
I'm trying to run a script from crontab -e with

* * * * * /home/user1/cronping.sh
* * * * * /home/user1/mythlinks.sh

from the tab.

syslog shows each is being called each minute, however only cronping 
seems to run.

mythlinks.sh is:
#!/bin/bash

/usr/share/doc/mythtv-backend/contrib/user_jobs/mythlink.pl --link 
/var/www/mythlinks --format '%T/%T - %Y%m%d-%H%i -%S'
/usr/share/doc/mythtv-backend/contrib/user_jobs/mythlink.pl --link 
/var/www/mythlinksall --format '%T - %Y%m%d-%H%i -%S'
/usr/share/doc/mythtv-backend/contrib/user_jobs/mythlink.pl --link 
/var/www/mythlinksalldate --format '%Y%m%d-%H%i - %T -%S'

sudo /home/user1/mythlinks.sh runs fine.

I've been running mythlinks.sh here every minute for testing purposes, 
but when its working I will knock it back to hourly.

What am I missing? How can I debug this further as mythlinks.sh won't 
run from the crontab, which is what I am seeking.




More information about the mythtvnz mailing list