Note: If your mac is off, LaunchDaemons will not run. So, automator will clear the cache during login.
- Open
Automatorapplication -> selectApplication-> ClickChoose
- Select
run shell script-> copy & pasteclear_telegram_cache.sh-> Clicktest run
- Provide a name for the
application
- Open
System Preferences-> Search forLogin Items-> Add your application





