Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cron käckelt vor sich hin...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Thu Aug 15, 2002 8:49 pm    Post subject: Cron käckelt vor sich hin... Reply with quote

Hey Amigos, wie geht's?

Nicht das ich den als "normal"anwender absolut dringend benötigte, aber dcron kann man trotzdem net ernsthaft als funktionstüchtig bezeichnen...
Code:
deever@deever deever $ crontab -l
*/1 * * * * cd Desktop
deever@deever deever $ cat /var/log/cron.log
15-Aug-02 22:38  USER deever pid 23853 cmd cd Desktop

Natürlich macht dieser CronJob keinen sinn, aber ich kann irgendnen befehl da ausführen lassen, der schaffts nicht, aber müllt mir stattdessen das logfile zu!! :(
Wie habt ihr das prob gelöst?

dev

[edit]
Sorry, noch vergessen: Ich bin natürlich mitglied der gruppe cron!!
[/edit]
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Fri Aug 16, 2002 11:02 pm    Post subject: Reply with quote

Jaaa??
Wirklich niemand nen plan?:(
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Sat Aug 17, 2002 5:31 pm    Post subject: Reply with quote

Hast du
Code:

crontab /etc/crontab

ausgeführt?

Bei mir sieht die crontab folgendermassen aus:
Code:

# /etc/crontab
# 20 Apr 2002; Thilo Bangert <bangert@gentoo.org>
# /space/gentoo/cvsroot/gentoo-x86/sys-apps/dcron/files/crontab,v 1.4 2002/04/27 21:46:45 bangert Exp

# fcron || dcron:
# This is NOT the system crontab! fcron and dcron do not support a system crontab.
# to get /etc/cron.{hourly|daily|weekly|montly} working with fcron or dcron do
# crontab /etc/crontab
# as root.
# NOTE: This will REPLACE root's current crontab!!


# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly

*/15 * * * *   test -x /usr/sbin/run-crons && /usr/sbin/run-crons
0 *  * * *      rm -f /var/spool/cron/lastrun/cron.hourly
0 0  * * *      rm -f /var/spool/cron/lastrun/cron.daily
0 0  * * 6      rm -f /var/spool/cron/lastrun/cron.weekly
0 0  1 * *      rm -f /var/spool/cron/lastrun/cron.monthly


Die eigentlichen cronjobs schreibst du dann in die entsprechenden Dateien in /etc/cron.*
Funzt hier bestens.
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Sat Aug 17, 2002 7:49 pm    Post subject: Reply with quote

Hmmm...ja ok danke!! ;)
Gibts aber net die möglichkeit das als normaler user per 'crontab -e' zu machen? :roll:

dev

[edit]
Code:
sh-2.05a# emerge -s cron
Searching...
[ Results for search key : cron ]
[ Applications found : 5 ]

...

*  sys-apps/vcron
      Latest version Available: 3.0.1-r1
      Latest version Installed: [ Not Installed ]
      Homepage: http://www.vix.com/
      Description: The [b]Vixie[/b] cron daemon

Danke ich glaub, ich habs problem gelöst...;)[/edit]
Back to top
View user's profile Send private message
Coogee
Apprentice
Apprentice


Joined: 23 Apr 2002
Posts: 184
Location: E.U.

PostPosted: Sat Aug 17, 2002 9:25 pm    Post subject: Reply with quote

crontab -e sollte auch funktionieren. Ich benutze allerdings fcron und da geht alles...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum