bleachbit - config to run via pshedule?

Moderator: Forum moderators

Post Reply
boof
Posts: 559
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

bleachbit - config to run via pshedule?

Post by boof »

i can't understand the -help file. i can't write the command line to periodically auto-clean at least firefox-ESR. also, the slider on the left covers the option checkboxes, making it hard to use.edit 1
tried bleachbit -c firefox.cashe frefox.vacuum\
bleachbit -c firefox64.cashe firefox64.vacuum
bleachbitb-c firefoxESR.vashe firefoxESR.vacuum
bleachbit -c firefoxESR-portable64.cashe firefoxESR-portable64.vacuum

none worked=invalid firefox* filenames, presume bleachbit invalid with firefoxESR directory tree.
i guess the only other way is to set clear cookies and history at dhutdown, sbd periodicall stop and restart ff.

Last edited by bigpup on Sat Aug 17, 2024 9:17 pm, edited 1 time in total.
boof
Posts: 559
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

Re: bleachbit - config to run via pshedule?

Post by boof »

#!/bin/sh
killall -q firefox
cd /opt/firefoxESR-portable64
bleachbit -c firefox.*
sleep 15s
killall -q bleachbit
cd /
firefox_esr &

this works well, and does what i want.

my thx for the help

Last edited by boof on Mon Aug 19, 2024 2:37 pm, edited 1 time in total.
User avatar
bigpup
Moderator
Posts: 6993
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 911 times
Been thanked: 1528 times

Re: bleachbit - config to run via pshedule?

Post by bigpup »

If this script will do what you want.

Couldn't you make it a script file, that is executable, with a name for the file.

Setup a a task in Pschedule to run it at whenever you want it to run.

Place the named script file in a file system path location. (/bin or /usr/bin or /sbin or /usr/sbin or /usr/local/bin or /root/my-applications/bin or /usr/games)

For the command in Pschedule, it would only need the script file name for the command entry, in the scheduled task.

firefox bleachbit.gz
here it is as a script file. remove fake .gz to turn it into correct file. had to add .gz to name to get it to attach.
(132 Bytes) Downloaded 17 times

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Post Reply

Return to “F96-CE”