Re: Crontab Problem
Tjena. har ingen cron.deny ens. Bara för att vara säker skapa jag en cron.allow men det lyckades inte bättre för det. Helt ställd här haha inte en aning vad som kan vara fel. Tack för din tid och hjälp /Christian Torbjörn Svensson [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Phantazm wrote: Kan inte fatta detta. crontab vägrar köras för användare jag måste fått ett hjärnsläpp och missat något. Har installerat 3 debian sarge burkar nu och alla 3 har samma problem Du har inte råkat lägga in något i /etc/cron.deny I övrigt kan jag medela att cron 'bara fungerar' på minst 2 av mina Sarge maskiner (har inte kollat fler). - -- .''`. Torbjörn Svensson, azoff (at) se (dot) linux (dot) org : :' : 7EB9 2DC5 61AE DAB5 7099 BAC6 798E E39A DBDB 0CFD `. `' http://azoff.homeip.net | http://azoff.tty0.org `-- http://se.linux.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDAaNneY7jmtvbDP0RAiU3AJ4wOPnZ76weLljh9Yo2Hfg3uspR/QCgrI/P EfxvDcIg6lZLUhRlzxYuzns= =7xpe -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Crontab Problem
Tjena. Fick löst det för en stund sen. Visade sig att den behövde en extra tom rad under senaste cron'en. E van vid gentoos nano visual och där har jag aldrig gjort något sånt. Nu dunka jag in enter 2 ggr efter sista cronen så sparka det igång som aldrig förr :) Glass skickas med företags paket :) en magnum mandel. Tack för din tid och hjälp! Robert Larsson [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] har ingen cron.deny ens. Bara för att vara säker skapa jag en cron.allow men det lyckades inte bättre för det. Helt ställd här haha inte en aning vad som kan vara fel. Och du lade in nån användare i cron.allow också? Körs jobben, dvs lämnar de något spår i /var/log/cron (eller vad loggen heter)? Kanske nåt syntaxfel i crontab:en? Läses den överhuvudtaget när den ska (kolla åtkomst- tid med ls -ul nån minut efter uppdatering) Kolla MAILTO, PATH mfl direktiv i början av crontab-filen. Inget skumt där? Hade inte nån version av cron problem med tabbar istf space i crontab, eller tvärtom? Gör en ny crontab från scratch som bara innehåller raden * * * * * echo Hej /tmp/crontest Blir det några Hej, eller nån fil öht i /tmp ? Hur skall du skicka glassen..? -- Robert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Crontab problems
This is insane. I cant get user crontabs to work. cron is running crontab -l gives correct output. EVERYTHING looks fine. I've must have missed something. Just installed 3 debian boxes just running heartbeat and failover for apache/bind9/dhcpd/mysql 4.1 and some other services and on none of the machines crontab is working :( Wierd. If you help me i buy you an icecream :) Regards Chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Crintab Problem
Hi. I know that it's not working since it doesnt output in syslog that it have been runned. if i put stuff in /etc/crontab it shows in syslog when it runs it and what user running it. ex: -- /etc/crontab */15 * * * * root /home/cluster/www/www.erotik-butiken.nu/cgi-bin/awstats.pl -config=www.erotik-butiken.nu -update syslog: Aug 16 10:00:01 camelot /USR/SBIN/CRON[4728]: (root) CMD (/home/cluster/www/www.x.se/cgi-bin/awstats.pl -config=www.x.se -update) So that is working. --- camelot:~# crontab -l 00 04 * * * updatedb /dev/null 21 01 03 * * * apt-get update /dev/null 21 */5 * * * * /home/cluster/www/www..se/cgi-bin/awstats.pl -config=www.x.se -update none of these have never been runned :-( It actually beats me :) never stumble upon such a wierd thing before. i've also tried a simpe date test.txt crontab to see if it puts anything in the file but nothing happends. Thank you for your time bob. /Christian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Crontab problems
Hi. Aas i said really wierd :-) everything looks ok. camelot:~# echo ls | at now warning: commands will be executed using /bin/sh job 1 at 2005-08-16 11:23 camelot:~# ls -l /var/spool/cron/ total 0 drwx-- 2 daemon daemon 17 2005-08-16 11:23 atjobs drwx-- 2 daemon daemon 6 2005-08-16 11:23 atspool drwx-wx--T 2 root crontab 32 2005-08-13 19:07 crontabs camelot:~# ls -l /var/spool/cron/* /var/spool/cron/atjobs: total 0 /var/spool/cron/atspool: total 0 /var/spool/cron/crontabs: total 8 -rw--- 1 phantazm crontab 201 2005-08-13 19:07 phantazm -rw--- 1 root crontab 414 2005-08-13 15:14 root camelot:~# -- When using the at i also get the mail that it has run. i really dont have a clue of what to do :-( Thank you for your time and effort, really appreciated. /Christian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Crontab problems
Hi. I've checked all except one thing. 3. Do your crontabs end with a blank line? And i'll be damned :-) it did solve the problem. haha Wierd though. When i enter the crontab there was a blank line. i deleted it and hit enter twice and it worked. Thank you very much mate. Time to convert all /etc/crontab to the users. :-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Crintab Problem
Thank you for your help bob. Got it solved earlier today. All i needed was an extra empty line at the bottom of the crontab. Kinda odd never had that with gentoo or slack. Anyhow its working :) Thank you for your time -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Crintab Problem
This is insane. I cant get user crontabs to work. cron is running crontab -l gives correct output. EVERYTHING looks fine. I've must have missed something. Just installed 3 debian boxes just running heartbeat and failover for apache/bind9/dhcpd/mysql 4.1 and some other services and on none of the machines crontab is working :( Wierd. If you help me i buy you an icecream :) Regards Chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]