in reply to Looping Question....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Looping Question....
by sierrathedog04 (Hermit) on Jun 20, 2001 at 22:19 UTC | |
Let's say that Java is really the best tool for doing XML, but I do not know Java, I know Perl. If Perl's XML tools are almost as good as Java, and I can save weeks of learning time by programming my XML in Perl, then I will probably do my XML in Perl even though Java may be better. If a pure cron solution requires too much knowledge of Unix internals and a Perl solution requires only Date::Calc and a simple daily cron job, then I say write a Perl script that cron will run daily, and let Date::Calc, which is available from www.cpan.org, do the date calculations. | [reply] |
|
Re: Re: Looping Question....
by Seema (Novice) on Jun 20, 2001 at 22:22 UTC | |
I really appreciate for you replying to me. :o) I am on Unix...though I need a Perl script before I even get on the Unix machine. I am not that familiar with this program...but if you say I may need to use cron...well then can you give me some hints on where I may can find how to use this tool? Once again...thanx for helping me out! :o) ~Seema | [reply] |
by dimmesdale (Friar) on Jun 21, 2001 at 01:47 UTC | |
I'd check out these manpages also, if you can: at(1), crontab(1), sh(1), queuedefs(4), attributes(5) (they were mentioned at the end of cron. I don't know much specifcially about cron, but you can access some manpages online at: http://www.tac.eu.org/cgi-bin/man-cgi?cron+8 if you don't have access to them. Here's an article thats rather useful, its from O'Reilly: http://www.onlamp.com/pub/a/bsd/2000/09/27/FreeBSD_Basics.html If you need anymore help, you can search the web, or ask someone--lots of people here are proficient with Unix; I'm, however, rather new to it, and only know a little.
DESCRIPTION The cron command starts a process that executes commands at specified dates and times. Regularly scheduled commands can be specified according to instructions found in crontab files in the directory /var/spool/cron/crontabs. Users can submit their own crontab file using the crontab(1) command. Commands which are to be executed only once may be submitted using the at(1) command. | [reply] |