Re: update today causes avantfax_hourly cron: Exec format error?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux