I have to run a lot of jobs (300) and would like to start at one time only 20 jobs and then after thos jobs are finished the next 20. But how to "ask" for whether the jobs are finished?
actually, my starting scripts looks like that:
One jobs creates always vier "childs" and I thought of using psg with the name of the folder to pick only the jobs I startet. But how to ask for the amount of still running jobs with psg? Or is there another way of figuring this out?
hi, i give a exit to the system, but it says that i have running jobs... so i do a ps and it displays two lines, one is a -ksh and the other is the ps which i am issuing...
then i give a who -uH, find my pts.. then do a grep... still the same.....
whats wrong.. (6 Replies)
Hi,
I'm new to cron and I would like to know if this cron entry looks right.
Every monday to friday, at 9:15 AM execute the script called done_att.sh
Every monday to friday, at 3:15 PM execute the script called start_att.sh
15 09 * * /u54/jobs/done_att.sh
45 15 * *... (1 Reply)
I would like to add a job using cron. I have following questions
- cron jobs are launched using what login-id
e.g. is the script launced using my login-id
- In which directory would the cron jobs be launched ?
- where do the environment variables required in the script being lauched come... (3 Replies)
I have some cron jobs that are taking a might long time. That is because they are screen scrapers and I inserted an extra long pause (10 minutes between screens) to be extra polite and minimize network traffic. I was going to have them run once a day but now I'm thinking once a week.
How do I... (2 Replies)
Before I get a million and one suggestions on all the things that could be wrong with my scripts - let me assure everyone that this is not the issue.
i have a RH EL ES4 server that stopped running all cron jobs except hourly, daily, weekly.
This has affected all users including root. No... (7 Replies)
I have a cron job set up to run a script on my Leopard Server every night. The job is set up as root, and when I run the script manually, it runs fine.
The problem is that it is not doing anything when it runs at night. In the cron log, it says it ran, but did not output the results to the file it... (3 Replies)
Hi,
I am logging into sun solaris unix box as asood user.Then sudo su_appssu
and scheduled my cron jobs.The user appssu is there In the /etc/cron.d/cron.allow . I do not understand why the jobs are not kicking by cron. Do I need to enter directly as appssu ?
Regards
Megh (10 Replies)
I need to process 50 sqlplus scripts which are listed in a text file. I need to develop a shell script that'll read this file and run these sqlplus scripts. At any point of time, the number of sqlplus scripts running shouldn't exceed 6. If any of the sqlplus scripts completes successfully then... (17 Replies)
Hi,
I need to know the jobs running in a server for all users in linux, crontab -l
gives for particular user, how ever I need for all users. I have sudo user access.
Thanks (4 Replies)
Discussion started by: nag_sathi
4 Replies
LEARN ABOUT SUNOS
atq
atq(1) User Commands atq(1)NAME
atq - display the jobs queued to run at specified times
SYNOPSIS
atq [-c] [-n] [username...]
DESCRIPTION
The atq utility displays the at jobs queued up for the current user. at(1) is a utility that allows users to execute commands at a later
date. If invoked by a user with the solaris.jobs.admin authorization, atq will display all jobs in the queue.
If no options are given, the jobs are displayed in chronological order of execution.
When an authorized user invokes atq without specifying username, the entire queue is displayed; when a username is specified, only those
jobs belonging to the named user are displayed.
OPTIONS
The following options are supported:
-c Displays the queued jobs in the order they were created (that is, the time that the at command was given).
-n Displays only the total number of jobs currently in the queue.
FILES
/var/spool/cron/atjobs spool area for at jobs.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO at(1), atrm(1), auths(1), cron(1M), auth_attr(4), attributes(5)SunOS 5.10 13 Aug 1999 atq(1)