The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-16-2008
grajesh_955 grajesh_955 is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 18
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..
  #2 (permalink)  
Old 07-16-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,259
Not a proper solution but to just not display that error, try redirecting errout to /dev/null, ie. 2> /dev/null.
  #3 (permalink)  
Old 07-16-2008
mirusnet's Avatar
mirusnet mirusnet is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 146
And what are you entering?
  #4 (permalink)  
Old 07-16-2008
grajesh_955 grajesh_955 is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 18
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...
  #5 (permalink)  
Old 07-16-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,259
No, it needs a valid input.
Code:
man at
  #6 (permalink)  
Old 07-16-2008
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,163
In most unixes you can start an at job immediately with:

at now
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0