How to implement cron job. Ex: I need to run SQR reports dynamically by using cron job. How can I implement cron job in shell.. If any one is having sample script in any shell that would be great help to me.
Thanks
Siva (1 Reply)
Hi All,
i am trying to automate a process and have to create a unix script like wise. I have a scenario in which i need to automate a file movement. Below are the steps i need to automate.
1. Check whether a file (Not Fixed name-Pattern search of file say 'E*.dat') is present in a... (2 Replies)
Hi,
I have a cron schedule like this
04,16,28,40,52 * * * * /nag/startProcessABatch (unix script)
i want to add new lines in this file (like Logging), i just copy this file into a /tmp folder (for backup copy), and i have edited this file (added few lines of code for logging).
... (1 Reply)
Hello,
I have problem in executing a shell script. When the shell script is executed at the shell prompt the script works successfully but when the same script is run as a cron job it fails to execute the files called within the shell script.
I have scheduled the job in my crontab file as
... (6 Replies)
Hi All,
I am editing crontab using -e option to add a new job
Below is the line
30 * * * * scriptpath
This job is not executing every thirty minutes.
I have checked, cron daemon is running.
What did I miss? Can some one help?
I am using cron shell..ksh (7 Replies)
Hi,
Though this is a unix forum mainly, am posting this oracle query here hoping to get a resolution.
I have set up two scheduled jobs in oracle 11g for executiong a procedure in specific time intervals. One as Hourly and other as minutely.
But the scheduled jobs are not running as per... (2 Replies)
Hi,
I have set up the crontab as follows.
root@IDC4VASAPP07 # crontab -l
0-59 * * * * /var/tmp/r.sh
0-59 * * * * date >> /var/tmp/log
root@IDC4VASAPP07 #
r.sh is as follows.
root@IDC4VASAPP07 # cat r.sh
#!/bin/bash
dt1=$(perl -e 'use POSIX;print strftime... (10 Replies)
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)
I've scheduled few jobs using cron. But they are not running .....
What might be the possible reasons ?? Also tell me how to troubleshoot.............
Please help me .......
Thanks in Advance. (2 Replies)
i have a job scheduled in crontab. The problem is, it is not running automatically as per the time scheduled. But runs when executed manually. What would be the problem? Help me with this please. (6 Replies)
Discussion started by: Santhosh CJ
6 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)