×

Loading...

Topic

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
    • found it. Is it in the directory of /var/spool/cron?
      • /etc/crontab....
        • No, I don't think it is
          • that's for cron configuration.
      • another question!!!!Which file records the boot/reboot information(time) in LINUX? Is it /var/log/boot.log?
        • got it!!!! just run the command "uptime"
        • 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?
          • should be 2 days 6:33, 意思是运行了两天又6小时33分钟. you can use 'man uptime'.
            • Yes, that's what i thought, I just can't believe it, BTW, there's no description about this field in Man, Thanks you
        • last
    • use crontab -l, or crontab -e. why would u need the file?
      • Because I try to find out the time when the crontab was changed the last time.
    • 不能用where or which命令吗?
    • 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.
      • thank you, I have already found it in var/spool/cron.