Koozali.org: home of the SME Server

Hylafax Periodic Maintenance

Offline cbacani

  • *
  • 111
  • +0/-0
Hylafax Periodic Maintenance
« on: February 04, 2007, 09:30:28 PM »
Hylafax comes with (2) two programs that need to be run periodically on the SME server: faxqclean and faxcron.

Periodic Maintenance:

0 * * * * /usr/local/sbin/faxqclean

25 23 * * * /usr/local/sbin/faxcron | mail faxuser

Adding crontab to the SME Server:

# pico -w /etc/e-smith/templates-custom/etc/crontab/clean

add your cron entries:

0 * * * * /usr/local/sbin/faxqclean

25 23 * * * /usr/local/sbin/faxcron | mail faxuser

Save your file

Enter these commands to check:

# /sbin/e-smith/expand-template etc/crontab

# more /etc/crontab - just to verify your new entry is there, then
reboot your server and check using this command:

# more /etc/crontab

If someone knows of a better way to do this, please let all of us know so we can move this project foward. Again, thanks to all of you that have helped to make this work.

Carl

Offline pfloor

  • *****
  • 889
  • +1/-0
Hylafax Periodic Maintenance
« Reply #1 on: February 05, 2007, 02:39:18 AM »
You should not need to do that.  Hylafax puts 2 scripts in for you.

/etc/cron.hourly/hylafax
/etc/cron.daily/hylafax

I personaly move the one from .daily to .weekly as I don't need the report daily.
In life, you must either "Push, Pull or Get out of the way!"

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Re: Hylafax Periodic Maintenance
« Reply #2 on: December 08, 2008, 02:54:32 PM »
Is this working for you? My report is empty.

stefan
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Re: Hylafax Periodic Maintenance
« Reply #3 on: December 08, 2008, 06:26:36 PM »
Hmm, I checked the files in the /var/spool/hylafax/etc.

A chown uucp:uucp xferfaxlog did it.

@cbacani: is it possible to get this issue fixed in the next smeserver-hylafax version?

stefan
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Hylafax Periodic Maintenance
« Reply #4 on: December 08, 2008, 07:42:29 PM »
Hmm, I checked the files in the /var/spool/hylafax/etc.

A chown uucp:uucp xferfaxlog did it.

@cbacani: is it possible to get this issue fixed in the next smeserver-hylafax version?

stefan
Yes, but please use the proper channel: the bugtracker.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Hylafax Periodic Maintenance
« Reply #5 on: December 08, 2008, 07:44:05 PM »
If someone knows of a better way to do this, please let all of us know so we can move this project foward. Again, thanks to all of you that have helped to make this work.
For questions like this (as I suspect you are the contrib owner, right?) we have the devinfo list.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Re: Hylafax Periodic Maintenance
« Reply #6 on: December 09, 2008, 10:51:12 AM »
Bug 4837 has been added to the database.

stefan
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)