1

Anacron not running any new scripts

view story
linux-howto

http://ubuntuforums.org – I'm trying to run a command, rmtemp, using anacron. I've put the file in /etc/cron.daily, and hoped anacron would pick up the rest. rmtemp works correctly when typed into a terminal, but here it is: Code: ~$ cat /etc/cron.daily/rmtemp #!/bin/bash cd ~/Downloads rm -rf -- temporary mkdir temporary /etc/anacrontab should be the default: Code: ~$ cat /etc/anacrontab # /etc/anacrontab: configuration file for anacron # See anacron(8) and anacrontab(5) for details. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin HOME=/root LOGNAME=root # These replace cro (Hardware)