[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Cron problem:
- Subject: Re: [cobalt-users] Cron problem:
- From: "Zeffie" <cobalt-proj@xxxxxxxx>
- Date: Mon Apr 30 03:55:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> 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?
Because your calling a dir and not a program
try
*/5 * * * * root /bin/chmod -R 777 /home/sites/site4/users
Never did this... never would I guess. But float your own boat....
If it dosent work make a little shell script like
#!/bin/sh
/bin/chmod -R 777 /home/sites/site4/users
and run that....
Zeffie
http://www.zeffie.com/