Crontab entry

From: JC Faul <jfaul_at_mtc.com.na>
Date: Fri, 30 Nov 2001 10:58:44 +0200

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
Received on Fri Nov 30 2001 - 09:00:12 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT