January 8, 201115 yr I write all my files to disk shares and keep some temp files on the cache drive. I don't want to rename directories on the cache drive and have no use for the mover script. Is there an easy way to disable it? Cheers, Neil.
January 8, 201115 yr I write all my files to disk shares and keep some temp files on the cache drive. I don't want to rename directories on the cache drive and have no use for the mover script. Is there an easy way to disable it? Cheers, Neil. Yes... Type: mv /usr/local/sbin/mover /usr/local/sbin/mover.old Put the same line in your "config/go" script. with the script renamed, it will never be run.
January 8, 201115 yr This is how I did it. Basically it removes the scheduled job and leaves the script. crontab -l | grep -v /usr/local/sbin/mover | grep -v -w mover > /tmp/.rootcrontab_ crontab /tmp/.rootcrontab_ /usr/bin/rm -f /tmp/.rootcrontab_
January 8, 201115 yr This is how I did it. Basically it removes the scheduled job and leaves the script. crontab -l | grep -v /usr/local/sbin/mover | grep -v -w mover > /tmp/.rootcrontab_ crontab /tmp/.rootcrontab_ /usr/bin/rm -f /tmp/.rootcrontab_ You need one more step. Otherwise, unRAID will overwrite your changes if it makes another change crontab -l | grep -v /usr/local/sbin/mover | grep -v -w mover > /tmp/.rootcrontab_ crontab /tmp/.rootcrontab_ cp /tmp/.rootcrontab_ /var/spool/cron/crontabs/root- /usr/bin/rm -f /tmp/.rootcrontab_
Archived
This topic is now archived and is closed to further replies.