added validation for working inside crontab or daemons, when clearline errors no more progress is logged