Up to recently, provision_civicrm created a cron user with permission to run the cron jobs.

In a recent commit (d465a4077621ce563fe9bb3efc345e7219b7e4ae) this functionality was turned off for CiviCRM versions 4.1 or above because you can now easily run cron from the command line as the admin user without passing credentials.

However, since I'm still running cron via wget (for other reasons), I'd like to keep the creation of the cron user.

Making this a configurable option seems overly complicated.

Another option would be to break up the _provision_civicrm_create_civicron_user() function so that the test of the version of civicrm is isolated from the function that creates the user account.

Then, I can simply call the function to create the cron user from my own code. Maybe that's the most flexible option?

jamie