Benches Uncategorized

5

Crontask not running when scheduled

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hi..

I've got 2 simple crontasks scheduled to run every morning at 6AM and 615AM to change the user and group ownership of certain files so that they do not count against a users disk quota, and the tasks are not running for some reason.

Could anyone take a look at these and see if there's anything wrong with them? The work fine if I run them manually from a Terminal Window. They are in the "system crontab" found in the /etc folder

0 6 * * * root chown -R root:editorial /Volumes/Server RAID/Editorial/Editorial Art/
15 6 * * * root chmod -R 2777 /Volumes/Server RAID/Editorial/Editorial Art/

thanks!

the T and the P

5 replies

Sign in or join Beachball Help to reply.

  1. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Write the Absolute path: /bin/chmod

  2. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks. I'll give it a whirl and see what happens tomorrow morning.

    What about the chown command?

  3. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Templeton Peck wrote:
    What about the chown command?

    Its absolute path is /usr/sbin/chown

    Mihalis.

  4. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Templeton Peck wrote:
    What about the chown command?

    Its absolute path is /usr/sbin/chown

    Mihalis.

  5. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks... worked like a charm.