Running a built-in job on demand

Hello all

How can I run the function::pruneDatabase on demand, ie I do not really want to reschedule the scheduled task to the next minute and then back to it’s original 1st day of the month?

Is there a way to programmatically invoke function::pruneDatabase rather than via a scheduled task?

Assume you could run php -f cron.php yourfunction altho I have never done it personally.