[arch-general] update today causes avantfax_hourly cron: Exec format error?
Ralph Corderoy
ralph at inputplus.co.uk
Sun Aug 26 08:37:01 UTC 2018
Hi David,
> > Cron <root at phoinix> run-parts /etc/cron.hourly
> >
> > run-parts: failed to exec /etc/cron.hourly/avantfax_hourly: Exec format error
> > run-parts: /etc/cron.hourly/avantfax_hourly exited with return code 1
> >
> > The cron job is:
> >
> > /etc/cron.hourly/avantfax_hourly
> >
> > # runs once an hour to update the phone book
> > 0 * * * * /srv/http/avantfax/includes/phb.php
That's a crontab(5), not something that should sit in /etc/cron.hourly
to be run?
$ cat >avantfax_hourly
# runs once an hour to update the phone book
0 * * * * /srv/http/avantfax/includes/phb.php
$ chmod +x avantfax_hourly
$ run-parts $PWD
run-parts: failed to exec /home/tmp/1535272096.988953819/avantfax_hourly: Exec format error
run-parts: /home/tmp/1535272096.988953819/avantfax_hourly exited with return code 1
$
> > Testing manually works fine:
> >
> > # ./phb.php
It's not getting that far.
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
More information about the arch-general
mailing list