November 16, 201213 yr So I've never set up a cron job. I know. I created a file in /etc/cron.d called "permissions," owned by root, and set it to RW (just like the "root" script that runs the mover script. In this script I have: 00 2 * * * /usr/local/sbin/newperms /mnt/user/movies 00 3 * * * /usr/local/sbin/newperms /mnt/user/tv_shows So, the way I understand it, at 0200 daily it will run newperms on my movies share, and at 0300 daily it will run newperms on my tv shows share. Is this correct, or should I simply append the two commands to the "root" script that is already there? Do I need to kill and restart any process to make this take effect, or is this all I need to do?
Archived
This topic is now archived and is closed to further replies.