why do you add same lines after every execute your script
change to this
and firstly check yur cron job list before execute ttyoru script and then execute your script,
after check your cron list for is there a line for "scriptname.sh"
Dear all
How can I schedule the cronjob to be run sometime at every first Sunday at every month? I have the edit the cronjob every month now, thanks (2 Replies)
Hi everyone:
I'm trying to make a CRON job that will execute Fridays at 7am. I have the following:
* 7 * * 5
I've been studying up on CRON and I know to have this in a file and then "crontab filename.txt" to add it to the CRON job list.
The CRON part I believe I understand, but I would... (6 Replies)
Hello evreyone,
this is my first post, and to say i'm new to this is an understatement.
I know very little about perl scripts and hope some one can help me.
i'm looking to get a script that a cron job can execute.
what the script needs to to is
1) connect to a mysql database
2) go to a... (2 Replies)
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)
Hi there, I have over 2000 systems (mainly Solaris) and I want to write a script that inserts a new root cronjob on each of those servers. obviously just adding a line to /var/spool/cron/crontabs/root looks like the easiest way, but i really dont want to have to send a HUP to crond on all boxes
... (3 Replies)
:wall::wall::wall:
Hi I have horrible script below, need help in renaming ls -l output into new filename format:
Desired output:
cp -pv original_path/.* newDirectory/owner_of_file.%dd%mm%y.file_extension.first_8_characters_of_original_filename
localuser@localuser:~ vi... (3 Replies)
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)
Hello,
I was trying to run a script on a dev server using cron job. It supposed to run 3rd sunday of every month.
45 4 15-21 * 0 /home/user1/myscript.sh >/dev/null 2>&1 # run this script 3rd sunday of every month
When I Schedule it on AIX server, It is running every day at 4:45 AM.
am I... (3 Replies)
Discussion started by: Kumar7997
3 Replies
LEARN ABOUT OSF1
atrm
atrm(1) General Commands Manual atrm(1)NAME
atrm - Removes jobs spooled by at
SYNOPSIS
atrm [-a] [-f | -i] [job_number...] | [user...]
The atrm command removes jobs that were created with the at command.
OPTIONS
Removes all jobs belonging to the person invoking atrm. If invoked by a privileged user, all jobs on the queue are removed. Suppresses
the printing of all information about the jobs being removed. Prompts before a job is removed; a response of y, or the locale's equivalent
of y, causes the job to be removed. Obsolete version of -a.
DESCRIPTION
If one or more job numbers is specified, atrm attempts to remove only those jobs.
If one or more usernames is specified, all jobs belonging to those users are removed. This form of invoking atrm is useful only if you
have superuser authority.
EXAMPLES
To remove job number 62169200.a, created by user chinn, from the queue created by the at command, enter: atrm chinn.62169200.a
Note that specifies an at job for sh. (.f specifies an at job for csh, and specifies an at job for ksh.)
FILES
Main cron directory. List of allowed users. List of denied users. Spool area. Queue description file for at, batch, and cron.
SEE ALSO
Commands: at(1), atq(1), cron(8)
Files: queuedefs(4)atrm(1)