Installer/Updater
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
254 B

​
​
​
​
​
​
​
​
​
​
​
  1. #!/bin/bash
  2. if [ ! -f "/srv/etc/cron.lock" ]; then
  3. if [ -f "/srv/etc/cron.json" ]; then
  4. touch /srv/etc/cron.lock
  5. /usr/bin/php /srv/etc/cron.php
  6. rm /srv/etc/cron.json
  7. rm /srv/etc/cron.lock
  8. else
  9. /usr/bin/php /srv/etc/pereodical.php
  10. fi
  11. fi