Page 1 of 1

bleachbit - config to run via pshedule?

Posted: Fri Aug 09, 2024 12:04 am
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.


Re: bleachbit - config to run via pshedule?

Posted: Sat Aug 17, 2024 7:00 pm
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


Re: bleachbit - config to run via pshedule?

Posted: Sat Aug 17, 2024 9:26 pm
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 21 times