pause needed for corn shell


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers pause needed for corn shell
# 8  
Old 12-09-2007
Bug fpmurphy thanks alot that work perfectly

I am new to this and was wondering if you could also explain what the code means so I can understand and not just use it.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Pause before exit

6) printf "\n GoodBye! \n\n"; exit ;; I am trying modify the above command to pause a couple of seconds before exiting, so a message can be displayed. Thank you :). (8 Replies)
Discussion started by: cmccabe
8 Replies

2. UNIX for Dummies Questions & Answers

Schedule a corn job

Hi, I new to cron job... I need to schedule a job that runs on a particular day at a specific time say for example need to send a test mail at around 2:30PM on wed 10th August i have used the below syntax, but the job was not executed. 30 14 * * * echo "message from UNIX... (3 Replies)
Discussion started by: ch33ry
3 Replies

3. Shell Programming and Scripting

Pause shell script till folder doesn't change size anymore

Hi, I recently would like to write a shell script that 1. Runs in the background (can be done with "&", but i'd be happy for other solutions to keep programs running) 2. Does its stuff 3 THEN checks a specified folder for a size change over time (say, each 5 seconds. AND ONLY continues with... (9 Replies)
Discussion started by: pasc
9 Replies

4. Shell Programming and Scripting

Sort output is different with Corn

Hi, I am sorting a file, but getting different output with crontab. input file-file z Z x X y Y when I sort manually sort file x X y Y z Z (4 Replies)
Discussion started by: suresh3566
4 Replies

5. Shell Programming and Scripting

How to pause a shell script

Hi, I've written a shell script to take photos with my camera. After every picture taken, the picture is transmitted to the computer via usb and then deleted on the camera. But sometimes there's an error and the picture is not deleted and so, after a certain time, the camera chip will be... (4 Replies)
Discussion started by: McLennon
4 Replies

6. Shell Programming and Scripting

Newbie question-do I pause and exec my shell scripts?

Hi there, I'm writing a script to restore 3 directories and 3 mysql db's every 24 hours. While writing the script, I came across the thought... Do I need to pause between executions? Example: msql restore1.sql rm -Rf path1/* cp -Rf path1/* /restore1 chmod 777 /folder1/cache1 ... (2 Replies)
Discussion started by: semiotics101
2 Replies

7. UNIX for Dummies Questions & Answers

pause() problems

well is gets stuck and i dont know why....... pid=fork(); if(pid==0) { pause(); write(1,"child",5); exit(0); } else { sleep(1); kill(pid,SIGCONT); write(1,"parent",5); wait(0); } all=1; (1 Reply)
Discussion started by: IdleProc
1 Replies

8. Shell Programming and Scripting

the shell not pause when execute read command

Hi, i facing a problem when run the script below.. while do if then printf "Please enter a name : " read response # the problem occur here if then ea_ident=${omc_ident} else # # Check that name does not contain invalid... (14 Replies)
Discussion started by: neruppu
14 Replies

9. UNIX for Dummies Questions & Answers

CORN job

Hello, How can i check? How many corn jobs are running? Thanks Raghu.K (1 Reply)
Discussion started by: raghuk2
1 Replies

10. UNIX for Dummies Questions & Answers

how to pause another process?

I guess I posted in wrong forum before. How do I pause another process and then restart it on linux? The other process doesn't listen for anything. Thanks for any help you can offer. Dane :confused: (1 Reply)
Discussion started by: daneensign
1 Replies
Login or Register to Ask a Question
tracker-status(1)						   User Commands						 tracker-status(1)

NAME
tracker-status - Report the state of all data miners SYNOPSIS
tracker-status [OPTION...] DESCRIPTION
tracker-status shows the status of all miners installed. It also allows pausing and resuming of miners. For tracker-store state, you need to use tracker-control OPTIONS
-?, --help Show summary of options. -f, --follow Follow status changes as they happen. This requires Ctrl+C to stop and return to the command line. Each new status is put on a new line. To get more information, you can use --detailed with this. -d, --detailed For the most part, this purely provides a timestamp with each status update to follow WHEN changes happened. -s, --list-common-statuses This will list statuses most commonly produced by miners and the store. These statuses are not translated when sent over D-Bus and should be translated by each application. These are not considered static and are subject to change at any point. Additionally, these statuses are not the only ones which may be reported by a miner. There may be other states pertaining to the specific roles of the miner in question. -l, --list-miners-running This will list all miners which have responded to a D-Bus call. Sometimes it is helpfult to use this command with --list-miners- available. -a, --list-miners-available This will list all miners which are available even if they are not running at the moment. -i, --pause-details For listing all miners which are paused and the reasons for being paused, you can use this. It will also display the application that requested the pause too. -m, --miner=MINER This argument is used with --pause and --resume to say which miner you want to pause or resume. You can use the full D-Bus name, e.g. org.freedesktop.Tracker1.Miner.Files OR you can use the suffix, e.g. Files -p, --pause=REASON The REASON here is useful to know WHY the miner should be paused. A miner can be paused many times by multiple applications. Only when all pauses have been resumed will it continue. If successful, a cookie will be given to uniquely identify the request. This cookie is used to resume the pause at a later stage. -r, --resume=COOKIE The COOKIE is given by a successful --pause command. It is a number which identifies each pause request. When all pauses have been resumed, the miner will resume working. -V, --version Print version. SEE ALSO
tracker-store(1), tracker-stats(1), tracker-control(1) GNU
July 2009 tracker-status(1)