Re: Crontab

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

 



Also, make sure your sh file has the +x permission set and that is points to 
the right interpretor [the very first line of the file says !#/bin/sh]

GG

On 8/29/05, Eris Caffee <eris-redhat-list@xxxxxxxxxxx> wrote:
> 
> > And, for your command, I think the place where you are doing wrong, is
> > that you don't specify what user you want the command to run into... 
> Just
> > log in as root, and set the cron, it will run with root privileges 
> only...
> 
> Right. You only have to specify the user if you are adding the cron entry
> to /etc/crontab or one of the files in /etc/cron.d. Individual user
> crontabs (edited with the "crontab -e" command) don't need to have the
> user specified.
> 
> Eris Caffee
> 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux