Am 2007-12-26 02:28:35, schrieb Dawid Szczepanski:
> So sieht der Teil meiner /etc/crontab aus:
> @reboot root cd /home/user2 && sudo -u user2 /home/user2/script
> start > /home/user2/cronlogs/s.log
Warum startest Du das script als root und dann mit sudo?
Warum nicht: crontab -e user2
und dann:
@reboot cd ${HOME} && ${HOME}/script start > ${HOME}/cronlogs/s.log
was definitiv funktio9niert.
Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature