04-07-2008
Sounds like maybe it would be easier to set a policy that all these scripts must abort if /etc/FREEZE_SUCKER exists in the file system, or some such.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I was wondering if itīs possible to cron job not to run on a certian day and time. Iīve got a job that runs everyday at 08:00
but would like it not to run on the 20:th between 08:00 and 10:00
Anyone know if this is possible, and if. How do i do it?
regards...
dOzY (3 Replies)
Discussion started by: dozy
3 Replies
2. Solaris
I'm trying to run cron jobs to start any inhibited processes after a system reboot.
I can schedule th cron, but i'm confused as to how to incorporated the reboot, since reboot is scheduled at different times, once every month.
How can I write this to start every 15 min after after a reboot
... (2 Replies)
Discussion started by: Remi
2 Replies
3. UNIX for Dummies Questions & Answers
Hello All,
Hopw all is fine. I am newbie to Unix. I am using Bourne Shell (sh). One of the question I have is that I am trying to read XML file and based on reading that XML file I want to run different java programs at different hours. Meaning
05 14 * * * java ./program1
10 14 * * * java... (3 Replies)
Discussion started by: samshaw
3 Replies
4. Shell Programming and Scripting
Greetings,
I am creating a ksh script to automate the installation of a utility on many servers.
As part of this install, I want to check for a job in root's crontab.
If the job exists, I need to comment it out.
I know I will need to copy off the crontab then read it back in, but I am... (4 Replies)
Discussion started by: 22blaze
4 Replies
5. Shell Programming and Scripting
Hi,
My requirement is to comment/uncomment a cron job through a script.
1. Redirected the output of crontab -l to a text file.
crontab -l >cronoutput.txt
2. grep to find the script running and sed to place the comment (#) as
the first char
grep -i 'weblogicmonitor.sh'... (5 Replies)
Discussion started by: mannepalli
5 Replies
6. UNIX for Dummies Questions & Answers
Hi
I want to view the schedules of all the crons under all accounts running on the UNIX server.
crontab -l list the crons under my account. How to view the cron schedule of other accounts? Does it require root access?
Is there a way to view the all the Crons scheduled on an UNIX server?
... (0 Replies)
Discussion started by: ashok.k
0 Replies
7. Solaris
There are two jobs in Solaris , Cron and at jobs..
I know how to disable or enable cron jobs.
How can I enable at jobs and disable it.
Kindly help.
Rj (2 Replies)
Discussion started by: jegaraman
2 Replies
8. Shell Programming and Scripting
Hi,
I ran two crontab commands
using:
crontab program1
crontab program2
However when I type crontab -l only the second cron job shows up, how do I see all cron jobs running and how do I edit all at the same time
Thanks in Advance
S:D (10 Replies)
Discussion started by: walforum
10 Replies
9. Shell Programming and Scripting
I have multiple jobs and each job dependent on other job.
Each Job generates a log and If job completed successfully log file end's with JOB ENDED SUCCESSFULLY message and if it failed then it will end with JOB ENDED with FAILURE.
I need an help how to start.
Attaching the JOB dependency... (3 Replies)
Discussion started by: santoshkumarkal
3 Replies
10. UNIX for Beginners Questions & Answers
I have two scripts which I'm tying to run one after the other- this is what I've tried:
00 14 * * * /path/one.sh && /path/two.sh
I've also tried putting each script on a different line:
00 14 * * * /path/one.sh
00 14 * * * /path/two.sh
Can this be done? (1 Reply)
Discussion started by: $shell_Learner
1 Replies
LEARN ABOUT CENTOS
booleans
booleans(8) SELinux Command Line documentation booleans(8)
NAME
booleans - Policy booleans enable runtime customization of SELinux policy
DESCRIPTION
This manual page describes SELinux policy booleans. The SELinux policy can include conditional rules that are enabled or disabled based
on the current values of a set of policy booleans. These policy booleans allow runtime modification of the security policy without having
to load a new policy.
For example, the boolean httpd_enable_cgi allows the httpd daemon to run cgi scripts if it is enabled. If the administrator does not want
to allow execution of cgi scripts, he can simply disable this boolean value.
The policy defines a default value for each boolean, typically false. These default values can be overridden via local settings created
via the setsebool(8) utility, using -P to make the setting persistent across reboots. The system-config-securitylevel tool provides a
graphical interface for altering the settings. The load_policy(8) program will preserve current boolean settings upon a policy reload by
default, or can optionally reset booleans to the boot-time defaults via the -b option.
Boolean values can be listed by using the getsebool(8) utility and passing it the -a option.
Boolean values can also be changed at runtime via the setsebool(8) utility or the togglesebool(8) utility. By default, these utilities
only change the current boolean value and do not affect the persistent settings, unless the -P option is used to setsebool.
AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>. The SELinux conditional policy support was developed by Tresys Technology.
SEE ALSO
getsebool(8), setsebool(8), selinux(8), togglesebool(8)
dwalsh@redhat.com 11 Aug 2004 booleans(8)