This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / Which file in LINUX stores the information of crontab? I found many of them , but none of them is what I want. Thanks
-oceandeep(北极熊® Zzz Zzz);
2002-11-6
(#839601@0)
-
found it. Is it in the directory of /var/spool/cron?
-oceandeep(北极熊® Zzz Zzz);
2002-11-6
(#839603@0)
-
/etc/crontab....
-jaguarx(Jaguar㊣);
2002-11-6
(#839606@0)
-
No, I don't think it is
-oceandeep(北极熊® Zzz Zzz);
2002-11-6
(#839622@0)
-
that's for cron configuration.
-jaguarx(Jaguar㊣);
2002-11-6
(#839626@0)
-
another question!!!!Which file records the boot/reboot information(time) in LINUX? Is it /var/log/boot.log?
-oceandeep(北极熊® Zzz Zzz);
2002-11-6
(#839614@0)
-
got it!!!! just run the command "uptime"
-oceandeep(北极熊® Zzz Zzz);
2002-11-6
(#839659@0)
-
What is meaning of the result of command uptime? I do want to get the exact hours the system has been up.12:49pm up 2 days, 6:33, 3 users, load average: 0.22, 0.05, 0.01
what is meaning of 6:33?
-oceandeep(北极熊® Zzz Zzz);
2002-11-6
{98}
(#839676@0)
-
should be 2 days 6:33, 意思是运行了两天又6小时33分钟. you can use 'man uptime'.
-jaguarx(Jaguar㊣);
2002-11-6
(#839681@0)
-
Yes, that's what i thought, I just can't believe it, BTW, there's no description about this field in Man, Thanks you
-oceandeep(北极熊® Zzz Zzz);
2002-11-6
(#839830@0)
-
last
-speed(如风);
2002-11-6
(#839870@0)
-
use crontab -l, or crontab -e. why would u need the file?
-speed(如风);
2002-11-6
(#839874@0)
-
Because I try to find out the time when the crontab was changed the last time.
-oceandeep(北极熊® Zzz Zzz);
2002-11-6
(#840378@0)
-
不能用where or which命令吗?
-gitar(lala);
2002-11-6
(#840000@0)
-
in the /var/spool/cron/crontabs/. u will find some file name same with
accounts like root, oracle, user1, user2 or like this. when one account
can create a cron job. it will generate a file with same name in it.
-fxid(外地民工模样的人);
2002-11-6
(#840097@0)
-
thank you, I have already found it in var/spool/cron.
-oceandeep(北极熊® Zzz Zzz);
2002-11-6
(#840395@0)