Comment 11 for bug 38022

Revision history for this message
graemev (graeme-launchpad) wrote : Re: cron (run-parts) doesn't run script with sh extension

Just stumbled over this in karmic ... my backups weren't running: (the string to look for is tsm)

root@graeme-laptop:/etc/cron.daily# run-parts --test --report /etc/cron.daily
/etc/cron.daily/0anacron
/etc/cron.daily/apport
<..elided...>
/etc/cron.daily/standard
/etc/cron.daily/sysklogd

root@graeme-laptop:/etc/cron.daily# ls *.suffix
tsm-backup.suffix

root@graeme-laptop:/etc/cron.daily# mv tsm-backup.suffix tsm-backup
root@graeme-laptop:/etc/cron.daily# run-parts --test --report /etc/cron.daily
/etc/cron.daily/0anacron
/etc/cron.daily/apport
<..elided...>
/etc/cron.daily/standard
/etc/cron.daily/sysklogd
/etc/cron.daily/tsm-backup

root@graeme-laptop:/etc/cron.daily# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"