Sponsored Content
Top Forums Shell Programming and Scripting Schedule and Run By weekly shell script in cronjob Post 302776971 by krupasindhu18 on Thursday 7th of March 2013 07:35:59 AM
Old 03-07-2013
Hi,
Sorry actually i need example for this,that you have provided information is not enough.

Thanks
Krupa
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

set schedule to run a script at background while logout

Hi, How can I run a script at 9:00am and 6:00pm everyday? Can I run it at background while I logout my account? Please help!! Many Thanks!! (1 Reply)
Discussion started by: happyv
1 Replies

2. Solaris

How to run a script as different user inside cronjob in solaris.

Hi , I have a shell script to perform some actions on sun solaris box . This script normally requires to be run as a different user. so, whenever i have to run this script, i need to sudo in as that user , enter the password and execute it. Now,I have to setup a cronjob to execute the script... (11 Replies)
Discussion started by: csg_user
11 Replies

3. UNIX for Dummies Questions & Answers

cronjob to run perl script

Hi all Recently i had finished a perl script. When i run manually, the script work fine. But when i wanted to put the script in cron, it didn't get the same output as it run manually. I felt that it only execute the script until certain line then it stop as i see most of the related files didn't... (6 Replies)
Discussion started by: AirWalker83
6 Replies

4. Shell Programming and Scripting

Running script that sends an html formatted email fails when its run as cronjob

Hi Im very new at working with unix and this problem I simply can not understand. I know there are a lot of threads about problems with shell scripts behaving differently when run from a terminal and from a cronjob. I have tried everything(almost) but I still havent cracked this problem. Im... (15 Replies)
Discussion started by: Nightowl
15 Replies

5. Shell Programming and Scripting

General Q: how to run/schedule a php script from cron jobs maybe via bash from shell?

Status quo is, within a web application, which is coded completely in php (not by me, I dont know php), I have to fill out several fields, and execute it manually by clicking the "go" button in my browser, several times a day. Thats because: The script itself pulls data (textfiles) from a... (3 Replies)
Discussion started by: lowmaster
3 Replies

6. Shell Programming and Scripting

How to schedule a cronjob to run every 15 mins ?

Hi, I want to schedule a job to run every 15 mins through cron. searched the forums and came up with this piece of code.i have given this in my crontab 0-59/15 * * * * sh /usr/ss/job But its not being run. Have i made any mistake here. Can any1 post the cron code for scheduling the... (5 Replies)
Discussion started by: suresh_kb211
5 Replies

7. AIX

My script didn't run every run every minute at cronjob

In my cronjob, I would like to schedule my script.sh to run every minutes. I crontab -e and have in line below but it didn't seems to run at all. * * * * * script.sh When I run it manually, I can run it. Is that anything wrong with the above line? If I change it to something like below,... (4 Replies)
Discussion started by: ngaisteve1
4 Replies

8. Shell Programming and Scripting

Schedule a script to run at 10am from mon to fri

Hi, I need to write a shell script which will run i background and will execute other script only on Mon to Fri 10 AM but not on Sat and Sun. I am able to set it to run on every day at 10AM but how to make it to run only on Mon to Fri Thanks, Firestar. (7 Replies)
Discussion started by: firestar
7 Replies

9. UNIX for Dummies Questions & Answers

Best way to schedule script to run Ubuntu 10.04

On Ubuntu 10.04 LTS, I would like to know the best way to schedule myscript.sh to run at a specified time, please provide examples and specify things like does cron have to be running, how do I check if cron is running and all that. I have tried unsuccessfully in the past to run the AT command,... (1 Reply)
Discussion started by: glev2005
1 Replies

10. UNIX for Dummies Questions & Answers

Script does not run from a user specific cronjob.

Hello, I have two crontabs, one for the root and one for another user. There is a script in my configurations that has to send a email. The script works and sends the emails when I run it by hand with either the root or the user, and when I program it in the root's crontab. But! It does not... (3 Replies)
Discussion started by: Tralaraloro
3 Replies
seinfo(1)						      General Commands Manual							 seinfo(1)

NAME
seinfo - SELinux policy query tool SYNOPSIS
seinfo [OPTIONS] [EXPRESSION] [POLICY ...] DESCRIPTION
seinfo allows the user to query the components of a SELinux policy. POLICY
seinfo supports loading a SELinux policy in one of four formats. source A single text file containing policy source for versions 12 through 21. This file is usually named policy.conf. binary A single file containing a monolithic kernel binary policy for versions 15 through 21. This file is usually named by version - for example, policy.20. modular A list of policy packages each containing a loadable policy module. The first module listed must be a base module. policy list A single text file containing all the information needed to load a policy, usually exported by SETools graphical utilities. If no policy file is provided, seinfo will search for the system default policy: checking first for a source policy, next for a binary pol- icy matching the running kernel's preferred version, and finally for the highest version that can be found. In the latter case, the policy will be downgraded to match the running system. If no policy can be found, seinfo will print an error message and exit. EXPRESSIONS
One or more of the following component types can be queried. Each option may only be specified once. If an option is provided multiple times, the last instance will be used. Some components support the -x flag to print expanded information about that component; if a partic- ular component specified does not support expanded information, the flag will be ignored for that component (see -x below). If no expres- sions are provided, policy statistics will be printed (see --stats below). -c[NAME], --class[=NAME] Print a list of object classes or, if NAME is provided, print the object class NAME. With -x, print a list of permissions for each displayed object class. --sensitivity[=NAME] Print a list of sensitivities or, if NAME is provided, print the sensitivity NAME. With -x, print the corresponding level statement for each displayed sensitivity. --category[=NAME] Print a list of categories or, if NAME is provided, print the category NAME. With -x, print a list of sensitivities with which each displayed category may be associated. -t[NAME], --type[=NAME] Print a list of types (not including aliases or attributes) or, if NAME is provided, print the type NAME. With -x, print a list of attributes which include each displayed type. -a[NAME], --attribute[=NAME] Print a list of type attributes or, if NAME is provided, print the attribute NAME. With -x, print a list of types assigned to each displayed attribute. -r[NAME], --role[=NAME] Print a list of roles or, if NAME is provided, print the role NAME. With -x, print a list of types assigned to each displayed role. -u[NAME], --user[=NAME] Print a list of users or, if NAME is provided, print the user NAME. With -x, print a list of roles assigned to each displayed user. -b[NAME], --bool[=NAME] Print a list of conditional booleans or, if NAME is provided, print the boolean NAME. With -x, print the default state of each dis- played conditional boolean. --initialsid[=NAME] Print a list of initial SIDs or, if NAME is provided, print the initial SID NAME. With -x, print the context assigned to each dis- played SID. --fs_use[=TYPE] Print a list of fs_use statements or, if TYPE is provided, print the statement for filesystem TYPE. There is no expanded informa- tion for this component. --genfscon[=TYPE] Print a list of genfscon statements or, if TYPE is provided, print the statement for the filesystem TYPE. There is no expanded information for this component. --netifcon[=NAME] Print a list of netif contexts or, if NAME is provided, print the statement for interface NAME. There is no expanded information for this component. --nodecon[=ADDR] Print a list of node contexts or, if ADDR is provided, print the statement for the node with address ADDR. There is no expanded information for this component. --portcon[=PORT] Print a list of port contexts or, if PORT is provided, print the statement for port PORT. There is no expanded information for this component. --protocol=PROTO Print only portcon statements for the protocol PROTO. This option is ignored if portcon statements are not printed or if no state- ment exists for the requested port. --constrain Print a list of constraints. There is no expanded information for this component. --all Print all components. OPTIONS
-x, --expand Print additional details for each component matching the expression. These details include the types assigned to an attribute or role and the permissions for an object class. This option is not available for all component types; see the description of each component for the details this option will provide. --stats Print policy statistics including policy type and version information and counts of all components and rules. -l Print line breaks when displaying constraint statements. -h, --help Print help information and exit. -V, --version Print version information and exit. AUTHOR
This manual page was written by Jeremy A. Mowery <jmowery@tresys.com>. COPYRIGHT
Copyright(C) 2003-2010 Tresys Technology, LLC BUGS
Please report bugs via an email to setools-bugs@tresys.com. SEE ALSO
sesearch(1), apol(1) seinfo(1)
All times are GMT -4. The time now is 01:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy