2016-03-21 12:54 GMT+01:00 Felipe Sateler <fsate...@debian.org>: > > > [Service] > > Type=oneshot > > IgnoreSIGPIPE=false > > ExecStart=foo > > Is this the real output from systemd-cron?
No > > Then it should be fixed: > > 1. Exec* need their first argument to be a full path. > 2. Exec* are not executed via a shell. IIRC, crontab lines can include > shell constructs. Systemd-cron should generate units that use a shell > (eg, /bin/sh -c 'foo'). If the job is a full path (eg /usr/local/bin/<something>) it is started dirtectly without a shell; that also makes the journal easier to read. For all other cases; a one-line shell script is generated in /run. Translating all possible shell escapes to systemd escapes was too much pain/risk. Thanks for caring. Alexandre