Doubt in Crontab


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Doubt in Crontab
# 8  
Old 06-13-2007
By screen, I meant MY terminal. Well, what is this virtual terminal? Can you please explain?
# 9  
Old 06-13-2007
Type the command "tty" on your terminal and use that output in your crontab. For example if you got /dev/pts/4 then change your crontab entry to:

* * * * * /usr/bin/date > /dev/pts/4

Personally, I wouldn't use cron for this sort of thing. Smilie
# 10  
Old 06-13-2007
Thanks solfreak....well, since i am trying to learn what cron is all about, i tried out this thing.
# 11  
Old 06-18-2007
can you explain me plz..

30 * * * * /usr/bin/date 1>>out_file 2>&1 what it does.
# 12  
Old 06-20-2007
it executes every hour 30 minutes
ex. 12:30, 1:30,2:30...so on..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Doubt..

Hi experts, In one of our code we have used some command like this. name=${name##*/} Can someone please let me know what exactly it does? Thanks & Regards, Sathya V. (1 Reply)
Discussion started by: Sathya83aa
1 Replies

2. Red Hat

Doubt

How to create a file with specific size in RHEL6 (1 Reply)
Discussion started by: Sashi Kanth A
1 Replies

3. Ubuntu

Doubt

hi ,, i am new for this.. i want to know abt linux os.. which version is best for it industry.. please suggest me..:cool: (1 Reply)
Discussion started by: c vignesh kumar
1 Replies

4. UNIX for Dummies Questions & Answers

Doubt

Hi , Struck with one basic question. Iam expecting word count of 4 where "wc" is showing as 5 . # echo "abcd" | wc 1 1 5 # echo abcd | wc 1 1 5 (5 Replies)
Discussion started by: penchal_boddu
5 Replies

5. Solaris

doubt regarding crontab entry

Can anyone tell me , in crontab week starts from Monday or Sunday which one mention as 1... Also please let me know what is the use of export term=vt100... (1 Reply)
Discussion started by: rogerben
1 Replies

6. Solaris

doubt reg crontab

Hi, I have a doubt reg crontab entries. If the user name is there in /etc/cron.d/cron.allow and also in cron.deny file will he able to execute. if the user is not in both the file means wt will do? (2 Replies)
Discussion started by: rogerben
2 Replies

7. UNIX for Dummies Questions & Answers

Doubt

How would i create virtual interface in linux to configure more than one IP address for a physical interface? any help wll be appreciated. (1 Reply)
Discussion started by: salil2012
1 Replies

8. Shell Programming and Scripting

Doubt??

I jus want to know the meaning of the below command line(exclamation following that re-direction) sqlplus -s `cat /home/sample.txt` <<! Thanks!! (1 Reply)
Discussion started by: nohup
1 Replies

9. Shell Programming and Scripting

One doubt

Hi, Can i use the shell script like this? When i am running the script it is hanging not giving me any output. I can redirect the output and then i can do the manipulations also but why this one is wrong. I am confused we can do like this or not.. #!/usr/bin/ksh for line in `top` do... (2 Replies)
Discussion started by: namishtiwari
2 Replies
Login or Register to Ask a Question