hi how do i best add a cronjob for the cache directory in Direct Admin
als the sites cache is filling up to manual clean them is sometimes a headage
thx guys
hi how do i best add a cronjob for the cache directory in Direct Admin
als the sites cache is filling up to manual clean them is sometimes a headage
thx guys
If you want to clear cache by cron (e.g. at night), please call the following URL in the cron task
https://www.your_domain.com/your_admin.php?cc&ctpl
hi thx
yes tryed this sometimes it dont work
there is no way to cronjob delete the directory
It should work. Tested for years
…or delete content of /var/cache directory
this is know but sometimes to big volume
have many shops so like to have this automatich than manual
Then set up a cron to remove the files instead of using the link.
rm -rf /[your path to]/var/cache/*