At job

Hi I am using at job in my SHELL scripts..
When it prompts to enter the time for at job..I used to press enter(return) button..
After that its running the job properly, but its showing the below error

UX:at: ERROR: Bad date specification..

Can some one suggest how to remove that error.

Thanks in advance..

Not a proper solution but to just not display that error, try redirecting errout to /dev/null, ie. 2> /dev/null.

And what are you entering?

I am just pressing the ENTER (RETURN) button instead of Specifying a particular time...

I suppose its taking the current instance time if we press ENTER...

No, it needs a valid input.

man at

In most unixes you can start an at job immediately with:

at now