Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: How to disable fr24feed_updater.sh

  1. #1
    Purser
    Join Date
    Feb 2012
    Location
    ESGG1
    Posts
    189

    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

  2. #2
    Purser
    Join Date
    Feb 2012
    Location
    ESGG1
    Posts
    189
    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

  3. #3
    Passenger
    Join Date
    Dec 2017
    Posts
    5
    Since no one else has answered...

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


    B

  4. #4
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,286
    Quote 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

  5. #5
    Purser
    Join Date
    Feb 2012
    Location
    ESGG1
    Posts
    189
    Quote 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

  6. #6
    Passenger
    Join Date
    Feb 2018
    Posts
    6
    Quote 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

  7. #7
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,286
    May be this one (untested)

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

  8. #8
    Passenger
    Join Date
    Feb 2018
    Posts
    6
    ill try that thanks! are these 2 separate commands? (Javascript and JAVA programmer here, I know almost nothing about the Pi coding language)

  9. #9
    Passenger
    Join Date
    Feb 2018
    Posts
    6
    Quote 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.

  10. #10
    Captain abcd567's Avatar
    Join Date
    Sep 2013
    Location
    Toronto CYYZ
    Posts
    2,286
    @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 at 23:28.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •