Announcement

Collapse
No announcement yet.

How to disable fr24feed_updater.sh

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to disable fr24feed_updater.sh

    I get several instances of fr24feed_updater.sh running after a while.

    How can it be completely disabled? It can't update anything anyways since the file-system is read-only.

    /M
    F-ESDF1, F-ESGG1, F-ESGP1, F-ESNK1, F-ESNV2, F-ESNV3 F-ESSL4, F-LFMN3
    P-ESGR, P-ESIA, P-ESIB, P-ESGF
    mrmac (a) fastest.cc

  • #2
    After 10 days it looks like this:


    :~# ps -ax | grep fr24
    499 ? Sl 6:11 /usr/bin/fr24feed -- --monitor-file=/dev/shm/fr24feed.txt --write-pid=/var/run/fr24feed.pid --quiet --log-base=/var/log/fr24feed --log-rotate=1
    2627 ? Ss 0:00 /bin/sh -c /usr/lib/fr24/fr24feed_updater.sh >/dev/null 2>&1
    2636 ? S 0:00 /bin/sh /usr/lib/fr24/fr24feed_updater.sh
    7643 pts/0 S+ 0:00 grep fr24
    8913 ? Ss 0:00 /bin/sh -c /usr/lib/fr24/fr24feed_updater.sh >/dev/null 2>&1
    8921 ? S 0:00 /bin/sh /usr/lib/fr24/fr24feed_updater.sh
    17635 ? Ss 0:00 /bin/sh -c /usr/lib/fr24/fr24feed_updater.sh >/dev/null 2>&1
    17638 ? S 0:00 /bin/sh /usr/lib/fr24/fr24feed_updater.sh
    17863 ? Ss 0:00 /bin/sh -c /usr/lib/fr24/fr24feed_updater.sh >/dev/null 2>&1
    17865 ? S 0:00 /bin/sh /usr/lib/fr24/fr24feed_updater.sh
    26344 ? Ss 0:00 /bin/sh -c /usr/lib/fr24/fr24feed_updater.sh >/dev/null 2>&1
    26347 ? S 0:00 /bin/sh /usr/lib/fr24/fr24feed_updater.sh
    32663 ? Ss 0:00 /bin/sh -c /usr/lib/fr24/fr24feed_updater.sh >/dev/null 2>&1
    32667 ? S 0:00 /bin/sh /usr/lib/fr24/fr24feed_updater.sh


    So, how do we stop it from trying to update ? I don't want these processes starting at all...

    /M
    F-ESDF1, F-ESGG1, F-ESGP1, F-ESNK1, F-ESNV2, F-ESNV3 F-ESSL4, F-LFMN3
    P-ESGR, P-ESIA, P-ESIB, P-ESGF
    mrmac (a) fastest.cc

    Comment


    • #3
      Since no one else has answered...

      Edit /etc/cron.d/fr24feed_updater and comment out the updater line.


      B

      Comment


      • #4
        Originally posted by bib View Post
        Since no one else has answered...
        Edit /etc/cron.d/fr24feed_updater and comment out the updater line.
        Thank you bib
        thumbs-up-3.jpg

        Comment


        • #5
          Originally posted by bib View Post
          Edit /etc/cron.d/fr24feed_updater
          Thanks, I always use crontab so never thought to look there.

          /M
          F-ESDF1, F-ESGG1, F-ESGP1, F-ESNK1, F-ESNV2, F-ESNV3 F-ESSL4, F-LFMN3
          P-ESGR, P-ESIA, P-ESIB, P-ESGF
          mrmac (a) fastest.cc

          Comment


          • #6
            Originally posted by MrMac View Post
            Thanks, I always use crontab so never thought to look there.

            /M
            I get -bash: /etc/cron.d/fr24feed_updater: permission denied

            Comment


            • #7
              May be this one (untested)

              cd /usr/lib/fr24/
              sudo mv fr24feed_updater.sh fr24feed_updater.sh.bak

              Comment


              • #8
                ill try that thanks! are these 2 separate commands? (Javascript and JAVA programmer here, I know almost nothing about the Pi coding language)

                Comment


                • #9
                  Originally posted by abcd567 View Post
                  May be this one (untested)

                  cd /usr/lib/fr24/
                  sudo mv fr24feed_updater.sh fr24feed_updater.sh.bak
                  Did not work. The place where you type, before the $ had usr/lib/fr24 and then the $ so I put in the rest of it and it didnít work. It just had the place where you type stuff in blank.

                  Comment


                  • #10
                    @ral33

                    Copy-paste only red text below.

                    1. FIRST you should type cd (Only cd, nothing else) and press Enter. It will become like this:
                    Code:
                    pi@raspberrypi:~ $
                    2. Move to folder fr24
                    Code:
                    pi@raspberrypi:~ $ cd /usr/lib/fr24
                    After above command, it will become like this
                    Code:
                    pi@raspberrypi:/usr/lib/fr24 $

                    3. Give following command to rename updater file
                    Code:
                    pi@raspberrypi:/usr/lib/fr24 $ sudo mv fr24feed_updater.sh fr24feed_updater.sh.bak
                    
                    pi@raspberrypi:/usr/lib/fr24 $
                    4. Check if the updater file name has .bak at its end
                    Code:
                    pi@raspberrypi:/usr/lib/fr24 $ ls
                    Last edited by abcd567; 2018-02-09, 23:28.

                    Comment


                    • #11
                      Originally posted by abcd567 View Post
                      @ral33

                      Copy-paste only red text below.

                      1. FIRST you should type cd (Only cd, nothing else) and press Enter. It will become like this:
                      Code:
                      pi@raspberrypi:~ $
                      2. Move to folder fr24
                      Code:
                      pi@raspberrypi:~ $ cd /usr/lib/fr24
                      After above command, it will become like this
                      Code:
                      pi@raspberrypi:/usr/lib/fr24 $

                      3. Give following command to rename updater file
                      Code:
                      pi@raspberrypi:/usr/lib/fr24 $ sudo mv fr24feed_updater.sh fr24feed_updater.sh.bak
                      
                      pi@raspberrypi:/usr/lib/fr24 $
                      4. Check if the updater file name has .bak at its end
                      Code:
                      pi@raspberrypi:/usr/lib/fr24 $ ls
                      I donít think it worked. Check the time log for T-KLEX14. It once again turned off at 07:00 UTC

                      Comment


                      • #12
                        Thank you captain, edited my software as you suggested and now no problems.

                        Comment

                        Working...
                        X