I have installed an application name supervisor, which processes queue in real time, which better suits for my task then cron. for supervisor the recommended recommendation as per docs is like below. Code: [Unit] Description=Yii Queue Worker %I After=network.target # the following two lines only apply if your queue backend is mysql # replace this with the service that powers your backend After=mysql.service Requires=mysql.service [Service] User=www-data Group=www-data ExecStart=/usr/bin/php /var/www/my_project/yii queue/listen --verbose Restart=on-failure [Install] WantedBy=multi-user.target This is working fine. only issue is the logs for this is included in syslog. I want to know If I can add any directive to have a separate log file for this.