i have a script that uses an ant build.xml and its targets to pull a project from a cvs server, attempt to build the project, and then email me the results. When I run the script (either @ CLI or as a cron job) while I am logged in, everything works fine. However, if the script is set up to run... (5 Replies)
I have the following crontab entry to run a shell script for every 30 minutes of every day:
30 * * * * $HOME/main.sh > $HOME/main.log 2>$HOME/error.log
after I created the crontab file I have also done:
$crontab my_crontab
I also check to make sure it exists, by using the following... (11 Replies)
hi guys,
i have a problem.
a week ago i made a successful crontab that execute bash scripting daily, it worked well
but now, it doesn't work at all, in the mail i have:
"
/home/jimmy/cha/scripts/cekpderr
produced the following output:
lagi jalan
/home/jimmy/cha/scripts/cekpderr:... (6 Replies)
I have a script running in the crontab that gets data from a database every hour. Now I would like to execute a fortran routine to process the data in some way, after getting it and saving it locally.
I have added the following commands to my script:
set convert =... (1 Reply)
I wrote a script to shutdown the oracle database. The script works fine when I manually run the script. However, when i schedule a job, i get the following error.
Shutting Down cmismart ....................
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4... (6 Replies)
I have got a file job_tree.lst , which contains 1 line as below
$ cat job_tree.lst
ABC_D_EQ_XXXXX_YYYY_PRD_UX 05/08/2009 05:47 05/08/2009 05:50 IN 13412850/0
I want to get a child job string 3 characters offset from the parent job string (i.e. ABC_D_EQ_XXXXX_YYYY_PRD_UX 05/08/2009... (4 Replies)
Hi all,
I really need your help ASAP on this. Below is the description of my problem and a sketch of Autosys
Job Activity Console
++++++++++++++++++++++++++++++++
File View Options
+++++++++++++++++++++++++++++++
Job Name Description Status Command Machine... (1 Reply)
The .profile file should be read when the user logs in. So, there should be no need to execute .profile file again in a cron job (since the cron job is run after the user logs in). Doesn't the cron require login from the user. Then, from where does the cron execute? Please help!! (1 Reply)
Dear *nix users.
I'm on Mac OS 10.6 / Terminal and try to use crontab to schedule two scripts every 30 minutes and every 41 minutes.
I followed the man instructions and created / installed a crontab file for the current user:crontab -e
with the following content
*/30 * * * *... (4 Replies)
I have set several cron jobs. I recently added a new cron job that copies a file of last day from another server and is executed each day (for example at 04:00 am) but when I check next day the file hasn't been copied.
I'm working in GNU/Linux CentOS (2.6.32) system.
The files that I need to... (23 Replies)
Discussion started by: Ophiuchus
23 Replies
LEARN ABOUT DEBIAN
fgadm
FGADM(8) System Manager's Manual FGADM(8)NAME
fgadm - filtergen command program
SYNOPSIS
fgadm [ check | reload | save | stop ]
DESCRIPTION
fgadm is a simple command interface for managing filtergen(8) based packet filters.
USAGE
fgadm can be used to stop existing filters (thus turning them off), reload new packet filters, save currently running filters for
longevity, and to check filter scripts for errors before reloading.
The following commands are accepted by fgadm:
check Check the filter script /etc/filtergen/rules.filter for errors. The generated filter will be printed on standard output, and errors
printed to standard error.
reload Replace the current live packet filter with the one in /etc/filtergen/rules.filter. The script will be tested for errors before
reloading.
save The current live packet filter will be saved in a distribution-friendly way. On Red Hat systems, this will save the iptables or
ipchains firewall that is currently loaded into the kernel to load at boot with the iptables or ipchains initscript.
stop This command will flush the current live packet filter out and put it in a default accept mode, thus no firewalling will be in
place. This is useful to abort firewalls in an emergency.
EXAMPLES
One may find the following sequence of commands useful for making firewall changes on live servers:
# at now + 2 min
warning: commands will be executed using (in order) a) $SHELL b) login shell c) /bin/sh
at> fgadm stop
at> ^D<EOT>
job 53 at 2004-06-07 17:25
# fgadm check
# fgadm reload
# atq
53
# atrm 53
# fgadm save
FILES
/etc/filtergen/rules.filter
Packet filter descriptions are read from this file when fgadm is used.
/etc/filtergen/fgadm.conf
This file alters the behaviour of filtergen as called from fgadm.
BUGS
fgadm save does not work on Debian systems with iptables due to a lack of common sense in the iptables package.
SEE ALSO filtergen(8), filter_syntax(5), filter_backends(5)AUTHOR
fgadm was written by Jamie Wilkinson <jaq@spacepants.org> for the filtergen package, to ease maintenance of filtergen-based firewalls.
June 7, 2004 FGADM(8)