Remove scheduler lockfile on successful exit
Remove scheduler lockfile on successful exit

If the 'schedular.php' script is accidently run by 'root',
it will create a root owned file, and all subsequent runs
of the script by the 'asterisk' user will fail.

It might be better to have a per-userid lockfile, but this
works around the immediate problem.

FreePBX/dashboard,FreePBX/dashboard,FreePBX/dashboard