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

Re: [cobalt-users] crontab thats driving me nuts



Hello,
   For a user to have crontabs, crontab must suid root.  To do this type
type the following as root:
$ chown root.root /usr/bin/crontab
$ chmod 02755 /usr/bin/crontab

Jeff-

Joe D wrote:
> 
>  I recently installed a new program that installs through another GUI
> 
> when installing it i had to mess with the CGI a bit and used this to get the
> program to run:
> 
> .htaccess located inside the web directory where the install program is located
> 
> Options +ExecCGI
> AddHandler cgi-script .cgi
> AddHandler cgi-script .pl
> 
> rights to this i set at 644
> 
> OK  so now the program at least runs to get itself set up.
> 
> The problem is it creates a crontab that should run but doesnt.
> 
> the crontab looks like this:
> 22 23 * * * /home/sites/site2/web/searchspoof/spoof/bin/indexer
> 
> rights on the crontab are set at 777
> 
> it is owned by dallasfw (the admin user for the site)  and the group is site2
> 
> it is  located at:
> /web/searchspoof/spoof/etc
> 
> the program its running  indexer  has rights set as
> -rwxr-xr-x      is again owned by dallasfw and group is site2
> 
> when run manually from telnet as ./indexer  it runs fine
> 
> it just appears that the server isnt seeing the crontab and running it for some
> reason
> 
> Any help would be appreciated i have searched the archives and I still have no
> idea
> why it isnt running  i know its either something little or something stupid
> 
> Joe
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users