[Slackbuilds-users] Cron file included with clamav-unofficial-sigs seems broken/incompatible with Slackware
Franzen
slackbuilds at schoepfer.info
Thu Oct 20 09:47:22 UTC 2016
On 20.10.2016 11:25, B Watson wrote:
> On 10/19/16, Nishant Limbachia <nishant at mnspace.net> wrote:
>> Here's my crontab (root)
>>
>> # Run clamav-unofficial-sigs script
>> 6 * * * * /usr/bin/bash /usr/bin/clamav-unofficial-sigs.sh > /dev/null
>
> Why is this incompatible with slackware?
That's the cron-script from Nishant.
The incompatible cron-script from upstream says:
6 * * * * clamav /usr/bin/bash /usr/bin/clamav-unofficial-sigs.sh >
/dev/null
My suggestion is:
cat << EOF > /var/spool/cron/crontabs/clamav
6 * * * * /usr/bin/clamav-unofficial-sigs.sh > /dev/null
EOF
> Or is the script itself (clamav-unofficial-sigs.sh) non-functional?
It is functional if executed as user clamav, as it has to work in
conjunction with package "clamav", which takes care about the existence
of the user clamav.
Johannes
More information about the SlackBuilds-users
mailing list