set constants and installed crontab