05-12-2018
Nothing obvious.
Any log file entries? Any error messages? Mayhap sent by mail (you may want to redirect stderr to stdout in the crotab entry). Did you see the echo $current_date output? Add another echo to the end of the script.
Does it wait for interactive input?
Last edited by hicksd8; 05-13-2018 at 12:04 PM..
Reason: Correct typo
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to schedule the scripts/batches to run simultaneously. I had all the information in the config (flat)file, which contains script name, time, dependency, path, priority and status etc.,
I want to run the jobs parellelly and some jobs are required to give the input. How can I do this?... (1 Reply)
Discussion started by: sharif
1 Replies
2. Shell Programming and Scripting
Do any one know any way of scheduling jobs on Unix without using cron as thats not supported within the company (5 Replies)
Discussion started by: Yziee
5 Replies
3. UNIX for Advanced & Expert Users
Hi,
what i need to do is build my own scheduler program.
I am supposed to display my own prompt. at this prompt i accept a command in the following format.
ls -l start 0:0:10:10 period 10 end 0:0:0:10
now this command should be executed in the background starting at 10 mins and 10 secs... (2 Replies)
Discussion started by: p_aishwarya
2 Replies
4. Solaris
I have akorn shell job that I can run manually but when I run via cron it starts and finishes, but does not do what it does when I run it manually.
Any ideals on why this is happening? (3 Replies)
Discussion started by: CAGIRL
3 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
Pardon me if this turns out to be a dumb question. But I am trying to schedule a cron job for a my script which takes input options. So an entry in crontab would be something like:
1 * * * * run_report.sh -o out.csv -m monthly -e somename@email.com > cron_output.log 2> cron_error.log... (3 Replies)
Discussion started by: trueharsh
3 Replies
6. Shell Programming and Scripting
Dear experts,
I have this cronjob
* */2 * * * $path/supervisor.sh The supervisor script is checking another script, which initializes the final scripts in multiple directories.
Note that the supervisor script runs without the cronjob.
In each directory, I have the following script:
... (2 Replies)
Discussion started by: TheTransporter
2 Replies
7. Shell Programming and Scripting
Hi All,
I have a script which will restart some web server and bring it up again. For that I need to retrieve 3 password from CyberArk (Cyber-Ark - Wikipedia, the free encyclopedia) vault.
My question is:
Is this possible to schedule the script through cron and automatic password... (0 Replies)
Discussion started by: saps19
0 Replies
8. UNIX for Advanced & Expert Users
Hi Experts,
I am new to Autosys. I created a Autosys box job to run at 10 AM daily. As scheduled, the job starts on time.
There is another box job inside the box. I have scheduled it to run at 11 AM but it kicks off automatically with the main job at 10 AM.
insert_job: Main-job ... (2 Replies)
Discussion started by: pk_bohra
2 Replies
9. Red Hat
I am trying to schedule a script in Linux to between 8th and the 31st of each month on Sundays @ 6:50 only and i scheduled it as follows:
50 6 8-31 * 0 ksh /home/cpac/SPID_Files/GetFiles.ksh
Which did it run on the 8th on Saturday instead of only Sundays !!! (3 Replies)
Discussion started by: mrn6430
3 Replies
10. UNIX for Advanced & Expert Users
Hi team,
O.S : Oracle Linux
Issue : I am facing issue when running OS watcher script from cron scheduler. But when i run the same command manually, its getting executed.
Note : I have to press " Enter " button to get out of the blank screen when I execute the script manually.
Below is... (1 Reply)
Discussion started by: madhuraju
1 Replies
LEARN ABOUT DEBIAN
apticron
apticron(1) General Commands Manual apticron(1)
NAME
apticron - Generate a mail listing packages which are pending an upgrade
SYNOPSIS
apticron [--cron]
DESCRIPTION
apticron is a shell script which generates a mail with a list of all packages currently pending an upgrade, as well as summary of changes -
using apt-listchanges - to a configurable Email address.
apticron is mainly intended for automatic notification of pending security updates but can also be used in many other situations where
timely updates are necessary.
The --cron option is only meant to be used when invoked by cron in order to run no more than once a day.
FILES
/etc/apticron/apticron.conf
Configuration file, Email address to mail and profile for use with apt-listchanges are configurable.
/etc/cron.d/apticron
Cron job for executing apticron daily.
/etc/cron.daily/apticron
Fallback cron script for executing apticron (if no crond running or system down at designated time).
/var/lib/misc/apticron.cron
Time stamp file used by apticron when invoked with --cron option.
SEE ALSO
apt-get(8), apt-listchanges(1), cron(8)
AUTHOR
Apticron was initially developed by Colm MacCarthaigh <colm.maccarthaigh@heanet.ie> with contributions from Marc Sherman <msherman@projec-
tile.ca>. Since 2006 it is maintained and improved by Tiago Bortoletto Vaz <tiago@debian.org>.
apticron(1)