I need to run a cron job on a wordpress site which in the script includes the function get_users() however because this script is a single file it does not include any of the core wordpress files.
My question is which files do I need to include in order for the get_users() function to run.
Any help would be hugely appreciated.
Best regards
David