General :: Perl Jobs Are Not Running From Crontab?

Nov 30, 2010

I am having a shell script which runs perl jobs.The script is starting the perl jobs when it is executed manually from the command line , but when the same script runs from crontab it is not starting the perl jobs.I have these things in the begining of the script

. /etc/profile
export MDX_HOME=/home/entsms
source $MDX_HOME/.bash_profile

[code]....

View 1 Replies


ADVERTISEMENT

General :: Crontab Show Live Timing/queue Of Upcoming Jobs?

Nov 18, 2010

is there a command or utility out there anywhere which can output a countdown of upcoming jobs from crontab? So you can display the queue of tasks in the order that they'll next run.

Anything like this out there?

EDIT: I realise there's crontab -l but that just echoes out the contents of the crontab file. I'd like somehow to get a countdown.

View 4 Replies View Related

Debian :: Automatic Screenshot Jobs In Crontab

Jun 20, 2015

In my office there is a department where the access of internet & intranet is very limited. I've been given a task that I should add a script which would automatically take screenshots of the PCs. The script works fine, but I can't make it work with the cron jobs. There are many methods given on the internet to grab screen, but none of them works with cron.

View 2 Replies View Related

General :: Command Running Multiple Jobs On Servers

Jul 26, 2010

How to submit multiple jobs onto a Linux server. The only way I know to submit and run a job on a server is using qsub, and verifying the status of the job using qstat. I usually run my scripts using qsub -cwd so that I can run it on my own directory (instead of having the results sent to a scratch folder).

1. However, assuming qsub/msub are not available, is there another way to do it? What commands can I use instead?
2. I know that some jobs can run in the background, is that an alternative? How do I do it? And would I still be able to check the status of the job or delete it?

View 2 Replies View Related

General :: Crontab Not Working \ Edited Crontab File Using Crontab -e?

Apr 27, 2010

I am using Linux 64 bit Redhat Linux. I am trying to setup simple crontab as follow...1. Edited crontab file using crontab -e2. Listed the file once to verify it using crontab -l. This will display as.. 18 5 * * 2-3 ksh $HOME/testScript.sh > $HOME/testscript.out3. Logged in a root and restarted cron deamon using "/etc/init.d/crond restart"As per my understanding now my testScript should start running at 5:18 am Thuesday

View 3 Replies View Related

General :: Running Scripts From Crontab

Nov 1, 2010

Im new to linux, using ubuntu 10.04. I have been playing around with crontab and have no problems scheduling a job which runs a script file containing the following command:

However, when I try to do the following in the script file nothing happens..

Similarly the following doesnt do anything either:

Is there something im missing?

View 5 Replies View Related

General :: Crontab Not Running Php Script?

Apr 18, 2011

I have a crontab that is supposed to run 2 PHP scripts but they never run.

30 */3 * * * php /var/www/html/mkimages.php
0 */3 * * * php /var/www/html/import_historic_data.php

Both of these files are owned by root, is it a permissions thing? How can I get get cron to run the files?

View 13 Replies View Related

General :: Crontab Not Running Script?

May 17, 2010

I put below line in a sh file

#!/bin/bash
HOSTS=172.16.14.1
COUNT=4

[code]...

View 5 Replies View Related

General :: Crontab Is Not Running Script

Dec 20, 2010

I'm trying to get myself familiar with bash scripting.I created a script to delete all files and folders in a specific directory, and made an entry in crontab.Crontab will not run the script, but I can run it manually.

View 2 Replies View Related

General :: Crontab Syntax - Running Script Once Every Five Minutes

Jan 25, 2010

I am planning on running a script once every five minutes, and the syntax that comes to mind in doing this is the following:

Code:
5 10 15 20 25 30 35 40 45 50 55 * * * * /apps/<script>.pl
Is there a better syntax to use to accomplish this task, or is the above example the way to go?

View 2 Replies View Related

General :: Restart The Crontab, If Change The Script Which Was Running?

Aug 24, 2010

that If I am fire a crontab which is running myScriptThe crontab is runningNow if I change the source code of myScriptDo I need to restart the crontab, to take into effect mychanges Ie I want in the existing crontab to take my updated script

View 2 Replies View Related

Ubuntu :: Cron Jobs Not Running?

Jun 2, 2011

I have a cron job that executes fine in opensuse 11.4. It is located in

/etc/cron.d/publish.cron:
jpablo /srv/django-apps/smcommand/scripts/publish.sh

It is correct, I want it to execute every minute. Now, I copied the same script to ubuntu maverick, and it doesn't run. Perhaps there's some ubuntu peculiarity that I'm not aware of?

View 5 Replies View Related

Ubuntu :: Cron Jobs Are Not Running And Can't Seem To Figure Out?

Mar 16, 2010

For some reason my cron jobs are not running and I can't seem to figure out why.
Here is crontab -l

Code:
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin

[code]...

View 7 Replies View Related

Ubuntu :: Cron Not Running Any Jobs In Lucid?

May 10, 2010

I use crontab for a daily alarm clock, which stopped working after I moved to Lucid.

Code:
$ crontab -l
# m h dom mon dow command

[code]...

View 9 Replies View Related

Ubuntu :: Cron Jobs Stopped Running?

Jun 2, 2011

I am running Ubuntu 10.10 on a new Dell PowerEdge.

I built the system ~2 months ago and have successfully been running a list of cronjobs.

The jobs last ran on 5/31/11 at 7:35am. Since then none of the jobs have run.

I see "cron" in the process list when I run ps.

View 9 Replies View Related

Red Hat :: Running Back Ground Jobs In Bash?

Jan 8, 2010

#!/bin/bash
jobid=$1
freq_count=$2

[code]...

View 2 Replies View Related

General :: Possible Disabling Crontab Job Without Deleting Crontab Description Entry

Jun 23, 2011

is it possible disabling a crontab job without deleting the crontab description entry (by crontab -e)?I could also accept to change the entry itself. Now it's:0 0 * * 0-6 /home/me/cron/script.csh

View 4 Replies View Related

Debian Configuration :: Cron Jobs Not Running On XEN DomU

Aug 16, 2010

I have a XEN DomU VM running Lenny and set up using debootstrap. I also have the TimeWentBackwards issue sorted using: [URL]. The problem is that my cron jobs just don't run. I've set up a cron job that simply echoes a date string to a file as a tester but it's not running. I've tried it under the root crontab, in /etc/crontab and set up in /etc/cron.daily. Is there something I'm missing?

View 1 Replies View Related

Server :: Running Multiple Cron Jobs At Same Time

Jul 1, 2010

I want to create 2 cron jobs daily

1st cron: Every day by 13(1pm) I want to stop the httpd service
2nd cron: Every day by 13:30(1.30pm) I want to start the httpd service

I tried but only 1 cron job can able to run at a time.

View 7 Replies View Related

Ubuntu :: Execute Long Running Jobs On A Remote Host?

Apr 1, 2011

What you do if the job takes a long time to finish and you don't want to wait.Say, I ssh to a remote server from my laptop and start a long-running job. Then few hours later I ssh again and inspect how did job run, its uotput and etc.

View 2 Replies View Related

Fedora :: Running Script Using Crontab?

Jul 26, 2010

I have a problem using crontab. I have a C file which invokes a linux command. I want to execute the file using crontab. Its like whenever the system boots up and contents gets loads i want to execute this script. The problem is I don't know how to run the script using crontab. For eg if the file is present under /home/user/first.c . In order to execute this script whenever system starts wat wil be my command

View 7 Replies View Related

Ubuntu :: Crontab Script Not Running / What To Do?

Dec 8, 2010

Code...

I opened "crontab -e" in the Terminal and in nano I copied and pasted the first line of this copied script, leaving all the notated lines out. Each time I manually run changer by clicking and selecting "Run" it changes my Wallpaper but this does not happen automatically no matter how many times I reboot.

View 3 Replies View Related

Ubuntu :: Crontab - None Of Job Apparently Running

Jun 1, 2011

I have the following set up in my crontab:

Code:
# crontab -l
# m h dom mon dow command
*/5 * * * * /usr/bin/perl /usr/local/bin/perl/managed_arp_data.pl >> /var/log/arpdb.log
*/5 * * * * /usr/bin/perl /usr/local/bin/perl/infoblox_fixed_sync.pl >> /var/log/crossref.log
00 23 * * * /usr/bin/perl /usr/local/bin/perl/infoblox_host_sync.pl >> /var/log/host_sync.log
0 * * * * /usr/bin/perl /usr/local/bin/perl/infoblox_excl_sync.pl >> /var/log/excl_sync.log

None of these jobs is apparently running, however they did run on the 31st (yesterday), but not on the 30th or any other day during the last 10 days that I have logs for. I think I've set cron to run at log level 1, but I don't know where that log goes, I don't see anything like /var/log/cron

So, couple questions:
* If I do something like "sudo -s" to get a root prompt and then do a "crontab -e", which user does that crontab get executed as?
* Where should I look for cron logs?
* Anyone know why a job would run on the 31st, but not any other day?

View 1 Replies View Related

Ubuntu :: Crontab Script Not Running / Fix This?

Dec 8, 2010

Crontab Script Not Running?

View 4 Replies View Related

Ubuntu Servers :: Crontab Not Running Script?

Jan 27, 2011

Cron seems to be running the script below (According to /var/log/syslog) but I'm not receiving the email it should send. This does work when I invoke it manually. checkraid (-rwxr-xr-x 1 root root)

Code:
#!/bin/bash
echo `/sbin/dmraid -s > /etc/check-raid/check_state`
index=0
while read line; do

[Code]...

View 3 Replies View Related

Software :: Crontab Entries Running On Even And Odd Weeks

Sep 24, 2010

I'm using crontab to start and stop music playback (its like start and end of a brake in school). The problem is that some of the entries should be run on even weeks and some on odd.
exp:

This should be played on even weeks
00 08 * * * audacious -p
10 08 * * * audacious -u
and this on odd
05 08 * * * audacious -p
15 08 * * * audacious -u

There are about 20 entries for even and 20 for odd. I found here on the forum that maybe this should work but for it is not working for me
00 08 * * * [[ $(expr `date +\%W` \% 2) = 0 ]] && audacious -p
If I put it like that its not working at all

View 7 Replies View Related

Software :: Script Not Running Via Crontab, Run's Fine Manually?

Feb 8, 2010

Yes I have tried exporting my paths and variables aab still will not run my script. 'm sure I am doing something wrong.I have a shell script which runs a jar file. This is not working correctly. After reading around I have read this is commonly due to incorrect paths due to cron running via it's own shell instance and therefore does not have the same preferences setup as my profile does.here is what my script looks like today after several modifications:

Code:
#!/bin/bash --
. /root/.bash_profile

[code]...

View 10 Replies View Related

SUSE / Novell :: Shell Script Not Running From Crontab?

Jan 11, 2010

I have a shell script which is configured for the user. The main task of the shell script is to email certain user with a particular result.

The shell script runs perfectly when run from a Konsole terminal and configured through a crontab generates empty entries.

Below is my crontab for my user.

Code:
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.XXXXSyNyp1 installed on Wed Jan 6 09:14:14 2010)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
#!/bin/bash

[Code].....

View 3 Replies View Related

Ubuntu :: Perl Error Running Findimagedupes

Oct 31, 2010

I'm using Ubuntu 10.10, and I just installed findimagedupes (plus dependencies) from the repositories. I get the same error message no matter how I invoke it:

Code:
$ findimagedupes -R -- images/
Can't locate findimagedupes/C.pm in @INC (@INC contains: /usr/lib/findimagedupes/lib /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/findimagedupes line 41.

[Code]...

View 6 Replies View Related

Server :: Running A Shell Script With Perl?

Jun 27, 2009

quick guidance on running a bash script using Perl. The script is calledarchive_web.sh.The regular script I have and use now (archive.sh) creates an archive directory (uses the current date as the dir name) and moves all existing files there.The script is cronned to run every day before midnight. I'd like to be able to run this "archiving script"manually, from the web, at my own discretion, rather than necessarily wait till midnight (but want it to run then, too, in case any new files present themselves in the directory).These shell scripts sit in an .htaccessed directory. Talk about making up verbs all over the place.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved