Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

at command

Go to solution
Occasional Advisor

at command

Hi!, i've got a problem with the at command.I'm trying to execute the at command using remsh.If i do
#remsh hostname 'at -f filename now', i get "bad specification", and only i dont' get this error message if i writte "ahora" instead of "now".

The problem is that i don't understand why using remsh i need to use Spanish since if i execute the at command localy in both servers
#at -f filename now, it works

could someone help me?
do you think it's a patch??
it's hpux v.11.00
Frederic Sevestre
Honored Contributor

Re: at command

Check if both servers have the same environement.
The LANG variable is probably set to spanish in your remote server and not in your local one

Crime doesn't pay...does that mean that my job is a crime ?
Occasional Advisor

Re: at command

In both servers the LANG is set to C.

The strange thing is that if i do in both machines #at -f filename now, it works.

Just using remsh is the problem

Anyway thanks for replying so fast
Steve Steel
Honored Contributor

Re: at command


What does
remsh hostname locale
remsh hostname set

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Occasional Advisor

Re: at command

ok, that's it.
the output of
#remsh hostname locale and
#remsh hostname set

shows that LANG=es_ES.iso88591.

;=) next question is, how can i change it???