[mythtv-users] Putting the mythconverg_backup.pl in a cron job

Mike Holden mythtv at mikeholden.org
Mon Nov 16 17:10:02 UTC 2009

Harry Devine wrote:
> OK, so I want put the new mythconverg_backup.pl into a cron job, but I'm
> not having much success.  I can run it from the command line and it runs
> fine, however, when I put it into a cron job, it never runs.  I created
> a script called mythdb_backup under /cron/cron.daily as follows:
> #!/bin/sh
> mythconverg_backup.pl --rotate 7
> Pretty basic, but it never runs.  How can I debug why its not running?
> I didn't see anything in /var/log/messages, but I may be looking in the
> wrong area.

Put the full path to the script in your crontab. The cron environment is a cut-down
version of what you get when you log in, and not all the elements of your $PATH are
avaiulable in your cron config.
Mike Holden

http://www.by-ang.com - the place to shop for all manner of hand crafted items,
including Jewellery, Greetings Cards and Gifts

More information about the mythtv-users mailing list