Datadirectory and tempdirectory recommendations pertaining to running cron.php in a jail?

Are there any particular recommendations regarding the location of the datadirectory and tempdirectory settings when one intends to run cron.php via jailkit?

In my case, when doing so, the cron job claims to be 1) unable to find .ocdata in the datadirectory, and 2) that the (custom) tempdirectory I’ve long had defined can’t be found or is unwritable, and neither 1) nor 2) actually reflect reality.