Note: If your mac is off, LaunchDaemons will not run. So, automator will clear the cache during login.
- Open
Automator
application -> selectApplication
-> ClickChoose
- Select
run shell script
-> copy & pasteclear_telegram_cache.sh
-> Clicktest run