[TASK] Log to syslog when run from scheduler

Change-Id: I5138b53c7c761a0687a50afd80dbf449fd8bb684
Reviewed-on: https://review.typo3.org/25271
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers