[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [LI] logrotate.
Dr. Sharukh K. R. Pavri. forced the electrons to say:
> 02 4 * * * root run-parts /etc/cron.daily
>
> Correct me if I am wrong but I think that means that that the script will
> run daily at 4 a.m. right ? But my machine is always switched off at that
Exactly at 2 minutes past 4 in the morning.
> time. So how do I run the script manually ? I tried running the script
Just type at the command prompt (as root),
/etc/cron.daily/logrotate
And logs will be rotated.
> sorry for the bother,
You don't have to - it is a pleasure :-)
Binand
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available. Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.