Results 1 to 3 of 3
Hey....
I am in newbie to this forum....
I am trying to execute the AT command in cshell.... but it doesn't work.... can anyone help me....
i really appreciate the ...
- 11-13-2011 #1Just Joined!
- Join Date
- Nov 2011
- Posts
- 2
How to use AT command in c-shell red hat linux through a script
Hey....
I am in newbie to this forum....
I am trying to execute the AT command in cshell.... but it doesn't work.... can anyone help me....
i really appreciate the help.
#! /bin/csh -f
at 10:33 11/12/2011
date >>log
<Ctrl>D
The above script leaves me in the 'at' command promt after executing.... please note that... i just typed the letters '<Ctrl>D'..
i wanted to execute the date command using 'at' command..
and finish the 'at' command by using the control signal...
All this should be done using a script.....
thanks for any help guys...
i appreciate it.....
bye
- 11-14-2011 #2Linux Enthusiast
- Join Date
- Apr 2004
- Location
- UK
- Posts
- 658
This may be a silly question, but does it *have* to be finished by a control signal?
works for me. (provide a time as a parameter to the script)Code:#!/bin/csh -f at $1 << eof date >> log eof
Let us know how you get on.To be good, you must first be bad. "Newbie" is a rank, not a slight.
- 11-14-2011 #3Just Joined!
- Join Date
- Nov 2011
- Posts
- 2
Thanks Kakariko81280....
It works....
Answering your question.... i was being silly when i was trying out with control signal.... trying to find a way to make it work....
I have used '<<' in perl print statements, but never in c-shell scripts... I actually didn't know that this functionality even existed in c-shell....
Thanks a lot.....


Reply With Quote