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.

11 lines
231 B

4 years ago
​
​
​
​
​
​
​
​
​
​
​
  1. <?php
  2. if( file_exists( '/srv/etc/cron.json' ) ){
  3. if( file_exists( '/srv/etc/cron.lock' ) ){
  4. echo '{"status":"WORKING"}';
  5. } else {
  6. echo '{"status":"PENDING"}';
  7. };
  8. } else {
  9. echo '{"status":"DONE"}';
  10. };
  11. ?>