switched from daemon to cronjob