Crontab- problem
Jan Kara
jack na atrey.karlin.mff.cuni.cz
Pondělí Září 14 19:14:05 CEST 1998
Ahoj
>
> /etc/crond :
?? predpokladam /etc/crontab ??
>
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> # run-parts
> 01 * * * * root run-parts /etc/cron.hourly
> 02 1 * * * root run-parts /etc/cron.daily
> 02 2 * * 0 root run-parts /etc/cron.weekly
> 02 3 1 * * root run-parts /etc/cron.monthly
> 01 * * * * root /bin/ls-la > /var/log/cront/listing.txt
Vas entry by mel vypadat spise jako
* * * * * root /bin/ls-la > /var/log/cront/listing.txt
Takhle by se to spoustelo jednou za hodinu - ostatne vsimete si 1. radku
crontabu :).
Ahoj Honza
Další informace o konferenci Linux