Topic profile page for Crontab.
This page has aggregated data from forum posts, threads, listings, online discussions, newsgroups, messageboards, and other online sources which contain user generated content for the term: Crontab.
Topic "Crontab" was discussed 0 times on 0 sites in last 3 months
Started 2 days, 5 hours ago (2009-12-19 10:17:00)
by buraksimsek
hi, I am trying to set up an alarm via crontab. I can play music by "/usr/local/bin/mp3blaster /home/burak/Desktop/kemannnnn.mp3" command on terminal. However when I wrote this line in crontab it doesn't play: 04 19 * * * root /usr/local/bin/mp3blaster /home/burak/Desktop/kemannnnn.mp3 what am I doing wrong?
Started 3 days, 16 hours ago (2009-12-17 23:17:00)
by ASHOKDB2k
Hi, When i try to access my solaris10 server's crontab file via putty it fails as shown below Issue 1 - i am able to view but could not edit the crontab file as user root # crontab -e 599 ? where as when i try to view it i face no issues. # crontab -l #ident "@(#)root 1.21 04/03/23 SMI" # # The root crontab should be used to perform accounting data collection....
Started 4 days, 6 hours ago (2009-12-17 09:15:00)
by duc904
Hi since we migrated from Solaris 8 to Solaris 10 I do miss a nice feature when editing crontab with vim editor: no more color highlighting after starting to edit. Well there is a hack, see below. I did define: export EDITOR='vim -c ":source /export/home/duc904/.vimrc"' Under Sol8 when starting to edit crontab I did get automatically the entries highlighted with colors I did ...
Started 4 days, 16 hours ago (2009-12-16 22:42:00)
by user11927424
Hi All, We are having oracle user in Solaries OS when we try to run export backup using crontab as oracle user we are not able to edit the crontab file as oracle user Please suggest any settings need to change to give crontab access to oracle user from root user Thanks in advance
Started 5 days, 5 hours ago (2009-12-16 09:35:00)
by Pouchie1
I got a crontab like the one below. i know what it does, but I would ike ot understand why a variable X is defined and that will receive the path to the script and then what this portion will do for us :[ -x $X ] && $X 0 2 * * * X=/var/tmp/log_purge.ksh; [ -x $X ] && $X > /dev/null 2>&1 thanks for your help.
Started 5 days, 9 hours ago (2009-12-16 05:37:00)
by linux0004
hi, I've read different posts regarding crontab but none helped out...the shell scrip that I want to run through crontab gets run through crontab when I use the following crontab statement: 13 17 * * * /usr/net/gcc/DBdrop.sh > /usr/net/gcc/DBdrop.log 2>&1 but it does not run when I scheduel the job as follows: 13 17 * * * /usr/net/gcc/DBdrop.sh why...? DBdrop.sh is a Bteq(...
Started 1 week, 3 days ago (2009-12-10 21:20:00)
by Kuro
Hey all. I am having a problem getting my Crontab to work properly. I'm using the bash shell. I want to set up a crontab that emails me reports of login activity taken from my auth.log every night. This is what I have in my crontab -l I've read that crontab takes minimal environment so I added /bin/grep and /bin/cat Code: # m h dom mon dow command 59...
Started 1 week, 4 days ago (2009-12-10 14:02:00)
by Geico Caveman
Hello I have two jobs listed in my crontab. Both these jobs run without a hitch when executed by hand on Terminal (please keep that in mind when you read what is written below). I am using the full paths of the commands (so duplicity is /opt/local/bin/duplicity). Both jobs are bash scripts executed by the same user. Job 1 gets executed properly on the specified time and ...
Started 1 week ago (2009-12-13 16:47:00)
by joecool99
i need to be able to reboot my system every hour. i tried the below: iCal opens fine as scheduled, but the reboot command doens't. assume it needs to be executed as root ? how can that be done automatically ? # +---------------- minute (0 - 59) # | +------------- hour (0 - 23) # | | +---------- day of month (1 - 31) # | | | +------- month (1 - 12) # | | | | +----...
Started 3 days, 19 hours ago (2009-12-17 20:21:00)
by sidewinder
A more elegant way to do this is using AppleScript. Something like: Code: tell application "Application Name" quit end tell delay 2 tell application "Application Name" activate end tell Then call that script from a shell script using Lingon to make an launchd Agent to run it every 50 minutes. This easy to do. Look here for some more insights: http://...
Started 2 days, 1 hour ago (2009-12-19 14:11:00)
by nirsh
Hi, I'm trying the backup a few information commands of my Check Point FW (it's on a SPLAT linux machine). This is the script I wrote: Code: #!/bin/bash cd /var/tmp/ file1=netstat_`/bin/date +%d%m%y`.txt file2=ifconfig_`/bin/date +%d%m%y`.txt file3=cpstatos_`/bin/date +%d%m%y`.txt file4=cphaprob_`/bin/date +%d%m%y`.txt filetar=/var/backup_scripts/`hostname`_netstat_`/b in/date ...
Started 1 week ago (2009-12-14 02:34:00)
by The Student
Hi Masters, I had a script for taking export backup. I modified to take datapump backup instead of the conventinal export. And since then the cron job has stopped running. The oriiginal script was: #!/bin/bash cd /opt/ora10gr2 . .profile cd /backup/oracle10g/EBACKUP/scripts/daily_run/ kdat=`date +%d` kmon=`date +%b` while read i do touch /...
Started 1 week ago (2009-12-14 05:44:00)
by The Student
Let me first thank all of you for the help. The issue was as Elango had suggested, with the environment variables. When executing standalone, it was working because environment variables were set. However while executing through cron, it environment variables werent getting set. And so i set the absolute path while invoking the .profile: . /opt/ora10gr2/....
Started 1 week ago (2009-12-13 23:10:00)
by turbo2ltr
New cPanel/WHM VPS.... I had installed chkrootkit and added a cron file to /etc/cron.daily to run it. I thought all I had to do was put it in there, but just realized it has not been running. So I did a crontab -l and this is what was in there: Code: 15 5 * * * /scripts/upcp 0 1 * * * /scripts/cpbackup 35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/...
Started 1 week ago (2009-12-14 01:08:00)
by fakie_flip
This is part of my automated backup script thats run by crontab. It finds all changed configuration files and makes creates a diff file of the difference between the original backup file and the modified changed file. It's not handling directories with spaces well. How can I fix it and other potential problems? Code: #!/bin/bash for bakFileNdLocation in `find / -xdev -regex '.*\(_...
Started 1 week ago (2009-12-13 18:24:00)
by user12018084
Dear All: We will be migrating one of our database to the prod status very soon. Mostly we monitor for the space usage by using tablespace storage alerts with crontab sending email. We need all the help about the critical parameters for a prod database to be monitored. Please advise about the parameters, critical setting or any possible script for a ...
Started 1 week ago (2009-12-14 11:32:00)
by user651510
I created a monitoring script which would run from crontab....Would anyone tell me how I would export Oracle SID in crontab script instead of hard coded it. Thanks.
Started 2 days, 1 hour ago (2009-12-19 14:10:00)
by macemoneta
If you are not logged in, pulseaudio isn't running. To be able to play the sound in that case, you have to start pulseaudio: Code: #------------------------------------------------- ------------------------------ # Mainline #------------------------------------------------- ------------------------------ set owner [onConsole] if {$owner=="root"} { catch {exec /usr/bin/pulseaudio --...