tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Crontab entry
@ 2002-07-22 16:06 Chris Bryant
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Bryant @ 2002-07-22 16:06 UTC (permalink / raw)


Admins,

	We the following crontab entry

	30 2 1-7 1-12 6 /usr/local/bin/viperrefresh.ksh

	supposedly I have this to run every month on the first saturday of
the month.  Am I reading this wrong?  Here is what the man page for crontab
says:

	   3.  The following example writes the contents of
happyholidays.txt to all
       users logged in at 4:00 p.m. each Friday in December and each day
       between December 10 and December 31 inclusive:
            0 16 10-31 12 5 /usr/sbin/wall /var/tmp/happyholidays.txt

	Now it looks like according to the man page that I have
/usr/local/bin/viperrefresh.ksh set to run every saturday and each day
between 1-7, is this correct?

TIA,

Chris Bryant
Unix Administrator
Dollar Rent A Car
(918) 669-3213



^ permalink raw reply	[flat|nested] 2+ messages in thread
* Crontab entry
@ 2001-11-30  8:58 JC Faul
  0 siblings, 0 replies; 2+ messages in thread
From: JC Faul @ 2001-11-30  8:58 UTC (permalink / raw)
  To: tru64-unix-managers

Hi all,

Environment: ES40, 4.0G, PK3

I created a crontab entry as follows:
0 	7	1	12	*	$HOME/shell/toRUN.ksh
/user/data/SEND/file.txt

What I want to achieve is for crontab:
 to execute $HOME/shell/toRUN.ksh with /user/data/SEND/file.txt as a
parameter (full pathname to a file named file.txt)

However cron complains with the following message:

>/usr/users/shell/toRUN.ksh[40]: DATA: parameter not set
>*************************************************
>Cron: The previous message is the standard output
>      and standard error of one of your cron commands.

If I run $HOME/shell/toRUN.ksh /user/data/SEND/file.txt directly from
commandline it works.

Any ideas? Man for crontab mentions a % sign - but I'm confused.

TIA
JC Faul

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-22 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-22 16:06 Crontab entry Chris Bryant
  -- strict thread matches above, loose matches on Subject: below --
2001-11-30  8:58 JC Faul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox