LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Crontab or cron.daily? (http://www.linuxquestions.org/questions/linux-newbie-8/crontab-or-cron-daily-843155/)

PlatinumX 11-09-2010 01:53 AM

Crontab or cron.daily?
 
Hey all,

I would like my system to update its package list automatically every day.
So I will put a cron task.
However I don't know between cron.daily and a specific task in the crontab.

I don't need the update to be launched at a precise time.
I would prefer my system to run it once a day but when it is not very busy, it is not a priority task.

Can I use cron.daily in such a case?

Thanks

repo 11-09-2010 02:21 AM

Yes you can use cron.daily.
As root, type
Code:

crontab -l
to see the time cron.daily is executed.

Kind regards

Kind regards


All times are GMT -5. The time now is 04:12 AM.