add function to the pyrenren/ cron dev