Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Addition to Cron Event directions

Quote Reply
Addition to Cron Event directions
Hi,

Having just set up my first cron event, I thought I'd add/clarify a few things in Bobsie's most helpful instructions in the resource center.

1) In build_links.sh,
Code:
/path/to/cgi/links/admin/nph-build.cgi > /path/to/cgi/links/admin/logs/build_links.log
shows up as two lines in the instructions, but needs to be one line. The ">" tells it to direct the output of nph-build.cgi into build_links.log.

2) It is advised to run buil_links.sh from the command line before entering the cron event into the table, just to make sure it works. You can do this by entering:

./build_links.sh

from the command line.

3) Make sure to add a line feed (return) at the end of mycron.txt! It will not work otherwise.

4) Optionally, you can add the following to the top of mycron.txt:

MAILTO=your@email.com

Supposedly, this will notify you via email if there are problems executing the cron job.

Hope this helps,
Dan
Subject Author Views Date
Thread Addition to Cron Event directions Dan Kaplan 2818 Dec 22, 1999, 7:34 AM
Post Re: Addition to Cron Event directions
Eliot 2735 Dec 21, 1999, 9:35 PM
Post Re: Addition to Cron Event directions
Dan Kaplan 2736 Dec 22, 1999, 3:36 PM
Post Re: Addition to Cron Event directions
Eliot 2749 Dec 22, 1999, 4:19 PM
Post Re: Addition to Cron Event directions
Dan Kaplan 2743 Dec 22, 1999, 5:06 PM
Post Re: Addition to Cron Event directions
Eliot 2734 Dec 22, 1999, 7:34 PM
Post Re: Addition to Cron Event directions
Dan Kaplan 2742 Dec 22, 1999, 8:27 PM
Post Re: Addition to Cron Event directions
Eliot 2723 Dec 27, 1999, 2:37 PM
Post Re: Addition to Cron Event directions
Dan Kaplan 2741 Dec 27, 1999, 2:56 PM
Post Re: Addition to Cron Event directions
Eliot 2752 Dec 27, 1999, 5:14 PM
Post Re: Addition to Cron Event directions
Dan Kaplan 2796 Dec 27, 1999, 6:17 PM