Using cron jobs instead of running the script as process