Port cron_run_manually

The code is much simplified using the new api. It worked in all of my tests.
Are you sure this is the proper way? I have the feeling you can create and use a new env, instead of moifying the current one.