10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hi All,'
I need to write a windows bat program to delete particular folders with naming pattern scoped_dir45666 (for example)(including contents)
with batch program. For that I am using below code:
@echo off
cd /D %temp%
for /d %%D in (*) do rd /s /q "%%D"
del /f /q *
i got above... (0 Replies)
Discussion started by: onenessboy
0 Replies
2. UNIX for Advanced & Expert Users
Hello,
Sometimes i need to clear all the jobs of a print queue and it is really annoying to cancel one by one.
Is there a way to cancel all print jobs for a specific print queue with a single command instead of cancelling them one by one?
My AIX system is 5.3
Thank you for your attention (2 Replies)
Discussion started by: omonoiatis9
2 Replies
3. Shell Programming and Scripting
Hi All,
I want to process consecutive jobs in a sequence but when I execute 1 job ,the control does not return to the command prompt to continue with the next job.
Can anyone help me here?
Thanks (3 Replies)
Discussion started by: Taranjeet Singh
3 Replies
4. UNIX for Dummies Questions & Answers
Hello all, I have a quick question. I work in a computational science laboratory, and we recently got a few mac pros to do molecular optimizations on. However, on our normal supercomputers, there are queue systems, mainly PBS.
Anyway, the macs obviously don't have PBS, but I've read about... (0 Replies)
Discussion started by: corrado33
0 Replies
5. Shell Programming and Scripting
Hi,
I need to get queue name ,status and numbero jobs waiting in queue.I was using lpstat and i got the queue name ,status and number of jobs waiting but the problem with lpstat is that when printer is out of paper then it shows printer status ready and 0 jobs in queue.is there any way that i can... (4 Replies)
Discussion started by: sagii
4 Replies
6. Shell Programming and Scripting
Hi,
i m having problem to get number of jobs waiting using lpstat.my printer is out of paper and 10jobs are in queue but i run lpstat -pqname it didnt show any thing.any one have idea whats wrong here. thanks
sagii (2 Replies)
Discussion started by: sagii
2 Replies
7. Shell Programming and Scripting
Hi All,
I am trying to run this script. I have a small problem:
each "./goada.sh" command when done produces three files (file1, file2, file3) then they are moved to their respective directory as can be seem from this script snippet here.
The script goada.sh sends some commands for some... (1 Reply)
Discussion started by: faizlo
1 Replies
8. UNIX for Dummies Questions & Answers
I have created at and batch jobs. but it need to modified. Also as these jobs can not be modified it has to removed and reschedule. can anyone help me how to remove these jobs. using cron this can be done easily. but i need to do it using at and batch jobs. (1 Reply)
Discussion started by: palash2k
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am wondering how to catch print jobs to process them before been served to the printer.
I was told that the challenge is to catch raw text that an old legacy application sends to the printer (invoices, quotes, etc) and save them as text files to allow a new application to process them... (5 Replies)
Discussion started by: miguel77mex
5 Replies
10. Shell Programming and Scripting
Im new to unix shell scripting, I have to run batch jobs on unix. for example i have 5 jobs. first 2 can kickoff parallely. after completely finishing the 2 previous jobs the 3 job should kick off..once 3rd is over 4 th and 5th can kick off parallely. Each jobs run for 1 or 2 hours each.
How to... (2 Replies)
Discussion started by: venki311
2 Replies