[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Cron Problem:



On Wed, 25 Apr 2001, Brian Coughter wrote:

> Here's my cron entry:

> */5 * * * *    root    /home/sites/site4/users  chmod -R 777
> 
> I get an email that states:
> /bin/sh: /home/sites/site4/users: is a directory
> 
> Can I not perform this command on a directory?  If not, how come?

um , it's 'time owner command arguments' , you are trying to execute a
directory ;)

ps: -R is ***very*** dangerous in this context, if that command had
actually run you would be reinstalling the OS on the machine now....

 why don't you put it
in a script so you can test it out first? then run the script from cron...

gsh