refactors cron for proper endpoint (knp) and moving of parameters