- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- using the "at" command to set off shell scripts
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2000 04:07 AM
10-06-2000 04:07 AM
"sh[18]: ulimit: the specific value exceeds the user's allowable limit."
Our customer wants to be able to set off 5 off these scripts at 10 minute intervals. Wen she trys, the first one will work, but then the rest of her scripts will not work.
Now she can set these scripts off manually, and they will work fine.
What is it with the "at" command? Can someone please help?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2000 04:15 AM
10-06-2000 04:15 AM
Solution# @(#) $Revision: 27.1 $
cd $d
ulimit $l
umask $m
$<
to:-
# @(#) $Revision: 27.1 $
cd $d
if [ $l = 4194304 ];
then ulimit unlimited
else ulimit $l
fi
umask $m
$<
This shouldn't prevent her second and subsequent scripts from failing though... could you provide some more details?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2000 04:16 AM
10-06-2000 04:16 AM
Re: using the "at" command to set off shell scripts
This file should be:
cd $d
if [ "$1"= "4194304"]; then
ulimit unlimited
echo was number
else
ulimit $1
echo was unlimited
fi
ulimit
umask $m
$<
federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2000 04:17 AM
10-06-2000 04:17 AM
Re: using the "at" command to set off shell scripts
Edit /var/adm/cron/.proto and replace the line "ulimit $l" with the following:
if [ $l -eq 4194304 ]
then
ulimit unlimited
else
ulimit $l
fi
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2000 04:31 AM
10-06-2000 04:31 AM
Re: using the "at" command to set off shell scripts
If the maximum has been reached , jobs will not run
if this is the case to solve this edit /var/adm/queuedefs file and add entry c.200j .
HtH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2000 07:56 AM
10-06-2000 07:56 AM
Re: using the "at" command to set off shell scripts
my customer so that she could try it out. She did and then her jobs would not
run. I then checked the cron log and it said,
"rescheduling at job (gave date & time) a queue max run limit reached (gave date & time).
I saw where I needed to changed the queuedefs. On the first line, I put
a.40j1n.
I asked customer to start the jobs again, but they still did not start.
I sopped and started cron, but this did not help.
Also, if the jobs were rescheduled, where do I go to cancel them out?
I would appreciate some more help, thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2000 08:09 AM
10-06-2000 08:09 AM
Re: using the "at" command to set off shell scripts
# at -l #...lists jobs...
# at -r
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2000 08:09 AM
10-06-2000 08:09 AM
Re: using the "at" command to set off shell scripts
You ought to change your name in 'My Profile'.
'at -l' will give you a list of queued at jobs and the time they are due to start eg:-
at -l
user = root 970974000.a Sun Oct 8 04:00:00 2000
You can delete an entry with 'at -r', for the above that would be:-
at -r 970974000.a
The job files are to be found in /var/spool/cron/atjobs.
Hope this helps,
John