0

I have a problem with accumulating sessions (codeigniter) in /var/cpanel/php/sessions/ea-php74

I use this command rm -rf ea-php74 to remove sessions manually

Sessions have a strange naming so default PHP session cleaner is not working __g4cw44g840000kk8gw4848k8804ww8o08gc8s80w2

How to create an automated command that would run that command every day or every two days?

Thanks

1 Answers1

0

It really depends on your server. If it's a Linux server you would want to use CRON.

https://docs.cpanel.net/cpanel/advanced/cron-jobs/

Torsetha
  • 116
  • 3