Loading ...
Sorry, an error occurred while loading the content.

reverting crontab

Expand Messages
  • Marc Bizer
    Salut Philippe, ... So now I need to revert to the original script. What does the original crontab script look like? I have verson 1.44_13 of the firmware.
    Message 1 of 6 , Mar 26, 2005
    • 0 Attachment
      Salut Philippe,

      I had modified /etc/crontab to use Don North's adjtime.pl script:

      >SHELL=/bin/bash
      >PATH=/sbin:/bin:/usr/sbin:/usr/bin
      >MAILTO=
      >HOME=/
      >
      >02 4 * * * root /etc/cron.d/calib_time.sh
      >22 4 * * * root run-parts /etc/cron.daily
      >@reboot root /etc/cron.daily/adjtime

      So now I need to revert to the original script.

      What does the original crontab script look like?

      I have verson 1.44_13 of the firmware.

      --Marc
    • Marc Bizer
      Salut Philippe, ... So my quartz isn t exactly tuned, is it? I haven t rebooted or anything since I introduced your modifications. So I went into adjtick.sh
      Message 2 of 6 , Mar 26, 2005
      • 0 Attachment
        Salut Philippe,

        I'm seeing this:

        >root@TREE250:/etc/init.d# /etc/init.d/ntpdate start
        > freq_base tick_base freq tick
        > 24.576000 10076 24.456798 10027
        >tick = 10027

        So my quartz isn't exactly tuned, is it? I haven't rebooted or
        anything since I introduced your modifications.

        So I went into adjtick.sh and set tmp_freq_base to 10027. Upon
        reboot, I now get this:

        >root@TREE250:/usr/sbin# /usr/sbin/adjtick.sh
        > freq_base tick_base freq tick
        > 24.456798 10027 24.394147 10001
        >tick = 10001

        So as you note in your posting to the Linkstation list, "the optimal tick
        changes after every boot due to a LS kernel issue."

        But I don't need to constantly change tmp_freq_base, do I?

        --Marc
      • Scott Leighton
        ... Here it is.... SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO= HOME=/ 02 4 * * * root run-parts /etc/cron.daily 05 4 * * * root
        Message 3 of 6 , Mar 26, 2005
        • 0 Attachment
          On Saturday 26 March 2005 10:38 am, Marc Bizer wrote:
          > Salut Philippe,
          >
          > I had modified /etc/crontab to use Don North's adjtime.pl script:
          > >SHELL=/bin/bash
          > >PATH=/sbin:/bin:/usr/sbin:/usr/bin
          > >MAILTO=
          > >HOME=/
          > >
          > >02 4 * * * root /etc/cron.d/calib_time.sh
          > >22 4 * * * root run-parts /etc/cron.daily
          > >@reboot root /etc/cron.daily/adjtime
          >
          > So now I need to revert to the original script.
          >
          > What does the original crontab script look like?
          >

          Here it is....

          SHELL=/bin/bash
          PATH=/sbin:/bin:/usr/sbin:/usr/bin
          MAILTO=
          HOME=/

          02 4 * * * root run-parts /etc/cron.daily
          05 4 * * * root /etc/cron.d/calib_time.sh



          --
          POPFile, the OpenSource EMail Classifier
          http://popfile.sourceforge.net/
          Linux 2.6.8-24.13-default x86_64
        Your message has been successfully submitted and would be delivered to recipients shortly.