Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: cbacani on February 04, 2007, 09:30:28 PM

Title: Hylafax Periodic Maintenance
Post by: cbacani 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
Title: Hylafax Periodic Maintenance
Post by: pfloor 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.
Title: Re: Hylafax Periodic Maintenance
Post by: SchulzStefan on December 08, 2008, 02:54:32 PM
Is this working for you? My report is empty.

stefan
Title: Re: Hylafax Periodic Maintenance
Post by: SchulzStefan 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
Title: Re: Hylafax Periodic Maintenance
Post by: cactus 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.
Title: Re: Hylafax Periodic Maintenance
Post by: cactus 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 (http://lists.contribs.org/mailman/listinfo/devinfo).
Title: Re: Hylafax Periodic Maintenance
Post by: SchulzStefan on December 09, 2008, 10:51:12 AM
Bug 4837 has been added to the database.

stefan