Re: Symlink in cron.daily wird nicht ausgeführt
* Stefan Baur <newsgroups.mail2@stefanbaur.de> wrote:
> Am 21.12.2017 um 19:30 schrieb Manfred Rebentisch:
> > Meines Wissens darf das Shellscript keine Extension haben, also
> > umbenennen in "backup".
>
> <nitpick>
>
> Das Shellskript darf schon eine Extension haben.
> Das, was Du schreibst, kann* aber durchaus auf das zutreffen, was in
> /etc/cron.daily/ liegt, sei es nun Shellscript oder Symlink.
>
> MaW: ein Symlink /etc/cron.daily/backup -> /usr/local/bin/backup.sh
> (ersteres ohne Extension, zweiteres mit) $SOLLTE auch funktionieren.
>
> </nitpick>
>
> *Ich bin gerade zu faul, nachzulesen, ob generell keine Extensions
> zulässig sind, oder nur bestimmte unzulässig sind. #DAWARMALWAS
Generell keine, da
,----[ man cron ]-
| the file names must conform to the filename requirements of run-parts:
| they must be entirely made up of letters, digits
| and can only contain the special signs underscores ('_') and
| hyphens ('-'). Any file that does not conform to these
| requirements will not be executed by run-parts.
|
| For example, any file containing dots will be ignored.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
Reply to: