crontab

Hi All

I have a very simple script which I am trying to execute via cron.
Let's say the script is like this:
The Script name is Test and is located at /export/home/dummyuser

#!/bin/sh
cd /export/home/dummyuser
mkdir dir1

In the crontab file I have:
20 10 * * * /export/home/dummyuser > /dev/null 2>&

The script does not execute and I have get the following mail:

Your " cron" job on server
/export/home/dummyuser/Test > /dev/null 2>&
produced the following output:
sh:syntax error at line 1:'end of file' unexpected

Any guesses to what's happening?

Hi,
are you not missing an "1" at the end

20 10 * * * shellscript >/dev/null 2>&1

the 1 at the end was a typo.
It was present in my crontab entry .What was missing was
an incorrect if condition in my script.
I have got it figured out myself.
Anyways thanks for your help.
Regards

erm, howz about posting what the problem actually was and how you resolved it.

just in case someone has a similar issue. :wink: