Re: cron update flashplugin-nonfree geht nicht
Hallo Alex,
Am Mittwoch, 26. November 2014 schrieb alex bachmer:
> Hallo Sigi
>
> Ich glaub dein Skript ist einfach nur falsch..
>
> was sagt denn bei dir: ls -l /etc/cron.daily ???
>
root@testing:/etc/cron.daily# ls
0anacron aptitude dpkg flashplayer flashplayer~~ htdig
man-db ntpdate passwd storebackup update-flashplugin-nonfree
update-flashplugin-nonfree~bk~
apt bsdmainutils exim4-base flashplayer~ google-earth logrotate
mlocate ntpdate~ popularity-contest Textdatei update-flashplugin-
nonfree~ update-flashplugin-nonfree-bk1~
> und kannst du mir mal den Inhalt deines Skriptes posten..
>
Das war die erste Version "update-flashplugin-nonfree":
#!/bin/sh
test -x /usr/sbin/update-flashplugin-nonfree || exit 0
/usr/sbin/update-flashplugin-nonfree --install --quiet
So schaut es nun aus:
#!/bin/sh
test -x /usr/sbin/update-flashplugin-nonfree || exit 0
0 5 * * * /usr/sbin/update-flashplugin-nonfree --install &>>
/var/log/flash.log
Soeben erhalte ich auch diese Meldung per Mail an root:
Anacron job 'cron.daily' on testing
Von: Anacron <root@testing.es>
An:
root@testing.es
/etc/cron.daily/ntpdate:
run-parts: failed to exec /etc/cron.daily/ntpdate: Exec format error
run-parts: /etc/cron.daily/ntpdate exited with return code 1
Zumindest kann ich sehen das cron/daily läuft, aber auch da der Fehler mit
"Exec format error"
> Danke und grüße
>
Danke Dir!
--
Liebe Grüsse
Sigi
Reply to: