diff --git a/.gitattributes b/.gitattributes index 5cdc900d..2e6b2634 100644 --- a/.gitattributes +++ b/.gitattributes @@ -653,7 +653,6 @@ src/generate_apache_conf.php -text src/generate_bind_conf.php -text src/inotify_do_actions.sh -text src/inotify_update_domains.sh -text -src/lxc_stopexpired.php -text src/mail_dodelete.php -text src/mem_add -text src/mem_del -text diff --git a/debian/alternc.cron.d b/debian/alternc.cron.d index e6ce2f96..93c9614e 100644 --- a/debian/alternc.cron.d +++ b/debian/alternc.cron.d @@ -34,5 +34,3 @@ # Every 20 minutes, do actions 00,20 * * * * root /usr/lib/alternc/do_actions.php -# Every hour, stop expired VMs -10 * * * * alterncpanel /usr/lib/alternc/lxc_stopexpired.php diff --git a/src/lxc_stopexpired.php b/src/lxc_stopexpired.php deleted file mode 100755 index 195ab504..00000000 --- a/src/lxc_stopexpired.php +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/php -q -stop_if_jobs_locked(); - -# Be super user -#$mem->setid(2000); -$admin->enabled=1; - -# Stop expired vms -$lxc->stop_expired();