Fetching Information of User Who Triggered Cron Job In Instance

I have a Render cron job. I want the script that runs inside the job to be able to fetch information about whoever ran an async execution of the job; user alias/name/id, timestamps, cron ID. I’d ultimately be writing this information to a file/database (this is for activity tracing).

How can i attain this information?

To get that data into a Render cron job you’d need to pass it via the start command, which you can update via the API - it’s probably not what you want, since a cron job is run on a schedule and not something that’s invoked directly,

Regards,

John B
Render Support, UTC :uk:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.