Faq-O-Matic Faq-O-Matic : Administrators' Guide : Suggestions :
problem with cron job | |
I recently installed FAQ-o-matic on an intranet specifically for the engineering staff at my company. The server I am on is a Sun. When the first cron job ran, I received an error saying that /usr/local/bin/diff was missing. On the Sun system, diff is at /bin/diff. So my first "fix" was to put a symbolic link from /usr/local/bin/diff to /bin/diff. I then received an error that -a was an illegal option. I looked at the man pages on diff for LINUX and SUN. Yes, -a was not legal under Sun but was legal under LINUX. My second "fix" was to put a two line shell script at /usr/local/bin/diff that had the lines #! /bin/sh, and /bin/diff -n $2 $3. (I had noted that -n was also passed). This appears to work, but I am not sure that it works. A real fix (rather than my "cluges") would be that a future release addressed this issue. John | |
[Append to This Answer] |
Previous: | (missing or broken file) |
Next: | Suggestion for Jon |
|