PHP cron job - Find PREVIOUS / calling script ?

Gordon S

New member
Hi,

i'm de-bugging a scheduled task / Cron job, & I know a particular sub-script is being called - However I do not know WHICH script is calling it...

at the top of the script (B), I have this - to log the variables - But it doesn't advise me which script (A) i'm using to call this script (B)

Can anyone advise me a way - in a cron-job/scheduled task to identify the calling script ?
 
Back
Top