July 27, 201213 yr Can anyone imagine why the following lines in my crontab do not appear to be working ? @daily /boot/config/Users_Yesterday >/dev/null>&1 @weekly /boot/config/Users_LastWeek >/dev/null>&1 @monthly /boot/config/Users_LastMonth >/dev/null>&1 The scripts do run by themselves if I run them so that is not it.. Below the contents of one of the scripts: #!/bin/bash rsync -avz /mnt/user/users /mnt/user/Users_Yesterday touch -am /mnt/user/Users_Yesterday/users
July 27, 201213 yr Can anyone imagine why the following lines in my crontab do not appear to be working ? @daily /boot/config/Users_Yesterday >/dev/null>&1 @weekly /boot/config/Users_LastWeek >/dev/null>&1 @monthly /boot/config/Users_LastMonth >/dev/null>&1 The scripts do run by themselves if I run them so that is not it.. Below the contents of one of the scripts: #!/bin/bash rsync -avz /mnt/user/users /mnt/user/Users_Yesterday touch -am /mnt/user/Users_Yesterday/users easy... crontab on unRAID does not recognize @daily, @weekly, or @monthly as valid lines. Put copies of those scripts in the following directories, and make them execuitable, and they will be run by existing crontab commands. /etc/cron.daily /etc/cron.weekly /etc/cron.monthly Example cp /boot/config/Users_Yesterday /etc/cron.daily/Users_Yesterday chmod +x /etc/cron.daily/Users_Yesterday Joe L.
Archived
This topic is now archived and is closed to further replies.