Web UI for ARGUS server
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
363 B

​
​
​
​
​
​
​
​
​
​
​
​
  1. <?php
  2. require_once('../../settings.php');
  3. require_once('../../defines.php');
  4. require_once('/srv/etc/sys_map.php');
  5. require_once( 'toolkit.php' );
  6. out_log("Removing Task");
  7. if( unlink( $GVAULT_PATH.'/new_task.var' ) ){
  8. $CMD='rm -R -f -v '.$GTEMP_DIR.'/uploads/*';
  9. run_command( $CMD );
  10. } else {
  11. out_log("Ops Task already started!");
  12. };
  13. ?>