//#region src/cron/job-content.ts
/**
* Executable body text from a cron job (`payload` only).
*/
function getCronPayloadText(job) {
	const p = job.payload;
	if (p.kind === "systemEvent") return p.text;
	return p.message;
}
//#endregion
export { getCronPayloadText };

//# sourceMappingURL=job-content.js.map