Lock Script to Scheduled Task?
I have created a custom script and added it as a scheduled task but how can I lock it so only the scheduled task can run it?
I tried to lock it to IP, but it uses the user's ip.
I tried passing a variable in the url in the task when it runs but it didn't work.
I have dumped POST and GET but nothing gets passed through when the scheduler runs it.
|