10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
1)
If some job supposed to run on 1st of every month at 7 AM
In cron job when we have a blackout on the 1st ( i.e when 1st falls on a sunday ) how can we make the job run the next business day?
2) How can we run a job on 25th of every quarter 7 AM(jan,apr,jul,oct)
And if 25th... (5 Replies)
Discussion started by: System Admin 77
5 Replies
2. UNIX for Dummies Questions & Answers
How to schedule a cron job to run every other Monday.
Thanks in advance. (2 Replies)
Discussion started by: ITDev01
2 Replies
3. Shell Programming and Scripting
Hi
I have a requirement to write a shell script,that will check the all commented job in cron job.Please help !! (2 Replies)
Discussion started by: netdbaind
2 Replies
4. Solaris
Hi ,
I have removed a cron for particular user , but cron job seems to be running even after the cron entry is removed. The purpose of the cron was to sendmail to user ( it uses mailx utility )
I have restarted cron and sendmail service still user is getting mail alerts from the cron job. And... (4 Replies)
Discussion started by: chidori
4 Replies
5. UNIX for Advanced & Expert Users
Hello,
Can anyone help me how to set any script as cron job. I have gone through all threads but not able to get the details. Appreciate your help.
I need to set test.pl to run on every Tuesday by 6am in the morning.
I do not the cron file which is defined.
Please help me out.
... (3 Replies)
Discussion started by: jam_prasanna
3 Replies
6. Solaris
I run cron in solaris 10 zone. One cron job which syncing files to nfs mounted on container, creates after finishing another cron proccess(/usr/sbin/cron), and after 100 existing cron proccesses next cron job will not start. It's too weird for me, I'm not able to solve this problem. Theoretically... (3 Replies)
Discussion started by: ron76
3 Replies
7. UNIX for Dummies Questions & Answers
can anybody explain the usage of CRON for adding a cron job. please provide an example also for better understanding !!!
Thanks (1 Reply)
Discussion started by: skyineyes
1 Replies
8. UNIX for Dummies Questions & Answers
Regarding Cron job,
i want to execute a scriptevery 4 days once irrespective of a week or a month.
Is it possible?Any help (2 Replies)
Discussion started by: santho
2 Replies
9. Shell Programming and Scripting
Hi All ,
We have few scripts which uses common environment/path setting variables.
Now instead of putting classpath , framework,java_home ..... etc. in all the script, can we make a file with all common settings which can be envoked by the scripts while running. If yes , say setting file is... (3 Replies)
Discussion started by: pankajkrmishra
3 Replies
10. Shell Programming and Scripting
Hi All
I am trying to run a .sh file from cron but its not performing its intended purpose, though the same sh file works fine when triggered manually.Following mail I recieve when it tries to run the script.
*********************************************************
To: wlsdev05
Subject:... (16 Replies)
Discussion started by: pankajkrmishra
16 Replies
SHOREWALL-NAT(5) [FIXME: manual] SHOREWALL-NAT(5)
NAME
nat - Shorewall one-to-one NAT file
SYNOPSIS
/etc/shorewall/nat
DESCRIPTION
This file is used to define one-to-one Network Address Translation (NAT).
Warning
If all you want to do is simple port forwarding, do NOT use this file. See http://www.shorewall.net/FAQ.htm#faq1[1]. Also, in many
cases, Proxy ARP (shorewall-proxyarp[2](5)) is a better solution that one-to-one NAT.
The columns in the file are as follows (where the column name is followed by a different name in parentheses, the different name is used in
the alternate specification syntax).
EXTERNAL - {address|COMMENT}
External IP Address - this should NOT be the primary IP address of the interface named in the next column and must not be a DNS Name.
If you put COMMENT in this column, the rest of the line will be attached as a comment to the Netfilter rule(s) generated by the
following entries in the file. The comment will appear delimited by "/* ... */" in the output of "shorewall show nat"
To stop the comment from being attached to further rules, simply include COMMENT on a line by itself.
INTERFACE - interfacelist[:[digit]]
Interfaces that have the EXTERNAL address. If ADD_IP_ALIASES=Yes in shorewall.conf[3](5), Shorewall will automatically add the EXTERNAL
address to this interface. Also if ADD_IP_ALIASES=Yes, you may follow the interface name with ":" and a digit to indicate that you want
Shorewall to add the alias with this name (e.g., "eth0:0"). That allows you to see the alias with ifconfig. That is the only thing
that this name is good for -- you cannot use it anwhere else in your Shorewall configuration.
Each interface must match an entry in shorewall-interfaces[4](5). Shorewall allows loose matches to wildcard entries in
shorewall-interfaces[4](5). For example, ppp0 in this file will match a shorewall-interfaces[4](5) entry that defines ppp+.
If you want to override ADD_IP_ALIASES=Yes for a particular entry, follow the interface name with ":" and no digit (e.g., "eth0:").
INTERNAL - address
Internal Address (must not be a DNS Name).
ALL INTERFACES (allints) - [Yes|No]
If Yes or yes, NAT will be effective from all hosts. If No or no (or left empty) then NAT will be effective only through the interface
named in the INTERFACE column.
LOCAL - [Yes|No]
If Yes or yes, NAT will be effective from the firewall system
FILES
/etc/shorewall/nat
SEE ALSO
http://shorewall.net/NAT.htm
http://shorewall.net/configuration_file_basics.htm#Pairs
shorewall(8), shorewall-accounting(5), shorewall-actions(5), shorewall-blacklist(5), shorewall-hosts(5), shorewall_interfaces(5),
shorewall-ipsets(5), shorewall-maclist(5), shorewall-masq(5), shorewall-netmap(5), shorewall-params(5), shorewall-policy(5),
shorewall-providers(5), shorewall-proxyarp(5), shorewall-rtrules(5), shorewall-routestopped(5), shorewall-rules(5), shorewall.conf(5),
shorewall-secmarks(5), shorewall-tcclasses(5), shorewall-tcdevices(5), shorewall-tcrules(5), shorewall-tos(5), shorewall-tunnels(5),
shorewall-zones(5)
NOTES
1. http://www.shorewall.net/FAQ.htm#faq1
http://www.shorewall.net/manpages/../FAQ.htm#faq1
2. shorewall-proxyarp
http://www.shorewall.net/manpages/shorewall-proxyarp.html
3. shorewall.conf
http://www.shorewall.net/manpages/shorewall.conf.html
4. shorewall-interfaces
http://www.shorewall.net/manpages/shorewall-interfaces.html
[FIXME: source] 06/28/2012 SHOREWALL-NAT(5)