Skip to content

Commit

Permalink
Fix task.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Micdu70 authored Jan 10, 2022
1 parent cc8d4b1 commit 13a75f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/_task/task.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function start( $commands, $flags = self::FLG_DEFAULT )
}
}
fputs($sh,'echo $last > "${dir}"/status'."\n");
fputs($sh,getPHP().' '.escapeshellarg(dirname(__FILE__).'/notify.php').' '.
fputs($sh,Utility::getPHP().' '.escapeshellarg(dirname(__FILE__).'/notify.php').' '.
'$last "${dir}" '.
escapeshellarg(User::getUser()).' '.
'> /dev/null 2>> /dev/null &'."\n");
Expand Down Expand Up @@ -391,4 +391,4 @@ static public function remove( $list )
}
return($tasks);
}
}
}

0 comments on commit 13a75f5

Please sign in to comment.