General :: Cronjob / Execute At 4:30 Pm On 2nd Monday Of Each Month?

May 10, 2010

Cron setup for execute at 4:30 pm on 2nd monday of each month.

50 16 8-14 * mon /home/user/script.sh

It seems to be ignoring the date range 8-14?

View 1 Replies


ADVERTISEMENT

Programming :: Bash - Use The Call Command (displays The Current Month And The Next Month)?

Mar 8, 2011

how i can use the cal command so it displays the current month and the next month, i know you can use cal -3 9 2007 to show the previous current and next but i just want to display the current and next.

View 9 Replies View Related

Ubuntu Networking :: Traffic Monitor - How Much Data Downloaded/uploaded On An Interface This Month And Previous Month

Nov 20, 2010

I'm looking for a powerful network traffic monitor that can do all of the following (or at least a combination of tools that can do the following):

Tell me how much data was downloaded/uploaded on an interface this month and the previous month tell me how the traffic was used throughout the monthshow which internal IPs (IPs in the 192.168.1.0/24 network) used how much traffic show which ports/protocols on those IPs used all that traffic

Hhow LIVE traffic flow statistics that can tell me total speed of traffic going through an interface as well asshow which internal IPs (IPs in the 192.168.1.0/24 network) are using how much of the traffic show which ports/protocols on those IPs are using that traffic

This tool will run on a linux router through which all my internal PCs are connected to the Internet. This means the tool(s) need to work with NAT (traffic being forwarded and not necessarily destined for the interfaced being monitored).

The distribution being run doesn't have a package manager so any packages or dependencies have to be manually compiled and SCPed over file by file. For this reason, the tool/tools need to be simple (things like vnstat, not things like ntop that have their own web interface).

I know that vnstat can tell me the first bullet point so it's only there incase there's a tool out there that can do everything. If there's a tool that can only do the second or third bullet point, that's great too - I'll just keep using vnstat and look for something else to do the other task.

View 6 Replies View Related

Slackware :: Several X-server Crashes Since Update From Last Monday

Jan 13, 2011

I'm running Slackware64-current. Since the upgrade of last Monday I'm experiencing several crashes of the X-server. It begins with an issue that one Window, e.g. Konsole or Firefox don't become active when clicking them. After some seconds the screen becomes dark and I end up on the console. First error I saw was from akonadi. Deinstalling akonadi didn't change anything. But there is an errormessage about a segmentation-fault in the Xorg.0.log. I'll append the logfile to this post. My graphics-card is an ATI HD5470 and have fglrx installed, downloaded from ATI. My kernel is

Code:
Linux samsung 2.6.35.10 #3 SMP Thu Jan 6 20:03:53 CST 2011 x86_64 AMD Athlon(tm) II Dual-Core M320 AuthenticAMD GNU/Linux

View 7 Replies View Related

General :: 4 Month Old Drive Failing?

Apr 11, 2011

I have a 2 Tb drive that Linux is saying is failing, the reason for this is Relocated Secotor Count, should i really worry and why is it happening to such a new drive its only 4 months old I received it on December 30th I woudl think it would not be bad at this point.

View 14 Replies View Related

General :: How To Set Cronjob In /etc/crontab

Apr 10, 2011

I know crontab -e sets a cronjob in /var/spool/cron but how do I set a cronjob to run from /etc/crontab? Is there a command used for this or would I have to manually edit a certain file?

View 2 Replies View Related

General :: Cronjob / Run The Files Everyday At 11.00 Pm?

Apr 23, 2010

I need to run the files everyday at 11.00 pm (Monday to Friday).

How would I put on cronjob? I have files ready.

View 5 Replies View Related

General :: Configure Cronjob To Run Every 45 Days

Nov 19, 2010

we have requirement like we need to run the sql script, which needs to be executed for every 45 days.

View 1 Replies View Related

General :: Pop Up Message From Cronjob Run Script?

Dec 22, 2010

I'm working on a bash script that will be run regularly via a cronjob. As there is no easy way for the user to see if it's running in the background, I'd like a have some kind of pop up window what say's something like "Process started" and "Process finished" when it's complete. Ive read though some similar threads and came across xmessage. It kind of does what I want, with the exception of:-Id like the message Process started to stay up for the whole process, but it looks like the script wont continue until the xmessage window is closed. I cant get any xmessages to appear when the script is run from a cronjob. It only appears if I run the script manually from a terminal window. Which is no good for me. If anyone has any suggestions that would be great and just to add, it's doesn't have to be xmessage, any text box would do. I'm working with Redhat 4 and 5, if that makes a difference. Chuck Norris destroyed the periodic table, because he only recognises the element of surprise.

View 2 Replies View Related

General :: Return Value Of Tftp Is Always Zero In Cronjob?

May 15, 2010

I have called an script in cronjob named get_mac.sh as follows:

#!/bin/sh
MAC=`ifconfig eth0 |sed -n 1p|awk '{print $5}'|awk -F : '{print $1$2$3$4$5$6}'`
ARG_FILE="/etc/asterisk/scripts/server.params"

[code]....

View 1 Replies View Related

General :: Auto Delete Mails From Postfix Server After 1 Month?

Jun 21, 2010

How do I make my postfix mail server auto delete mails from user mailboxes after say 1 or 2 months?

View 1 Replies View Related

General :: Change Rsyn Cronjob Via PHP Script ?

Apr 13, 2010

Currently we have to comment out an rsync task every now and then. Is there a way to have a PHP script on the server so we can simply browse to it to uncomment the rsync task and another one to comment it out again ?

The rsync job is the only job in crontab so even if it means deleting / re-creating the job wouldn't be a problem. I just want to avoid connecting via SSH and VPN every time I am asked to disable it

View 1 Replies View Related

General :: Receive Emails About A Cronjob Execution?

Jun 15, 2011

how I can receive emails about a cronjob execution or where to go to read about that? I am using CentOS 5.4.

View 2 Replies View Related

General :: Setup A Cronjob It Only Runs If Logged In?

May 6, 2010

I wrote this little script and it runs very well, however when I setup a cronjob it only runs if I am logged in. I would like to have this script running even when I am not logged in. At the moment it runs but only when I am logged in. I logged as denis and in terminal (su root) and edited crontab as shown below, what do I need to change or setup to have this script run when no-one is logged in the computer. I run Fedora 12 (64 bit)

backup script:

cd /home/denis/Documents
tar -czvPf /home/denis/Backups/docsbackups_$(date +%Y%b%d_%HH%MM).tar.gz /home/denis/Documents
# above line will produce file with name in this format "docsbackups_date&time.tar.gz" in the /home/denis/Backups folder

[Code].....

View 4 Replies View Related

General :: LAMP Set Up In Ubuntu10.04 Rev189 And CRONJOB?

Jul 12, 2010

I am a PHP developer.I have always used XAAMP(in Windows7) for development purpose. I am driven to turn to Linux now . I have installed Ubuntu10.04-rev189(Wubi) in Windows7 recently. I have a PHP script which require the following tasks to be performed.

1. Give permissions "777" to the following files and folders:_cache media images /configs.php mages/config_photo_preview.jpg

2. Set up cron jobs on your site like this: /usr/local/bin/php -q /your-site-root-dir/cron/index.php I need to get an environment like XAAMP and perform the above mentioned tasks.

View 1 Replies View Related

General :: Screen Doesn't Work In Cronjob-SH

Sep 12, 2010

i wanted to ask you for help in setting up a cronjob, that restarts a game server.By now I made a script that kills the screen of the server and then restarts it.

View 2 Replies View Related

General :: Setting Up A Cronjob / Error Saying Php Command Not Found?

Apr 5, 2011

i have a site where I need to run a couple of php scripts every day..therefore I was thinking to setup a cronjob to do this. Unfortunately I get a whole bunch of errors trying to do so.

I can execute the php scripts via a command line without problem, one example would be

php /home/site/domains/stie.be/public_html/admin/cronjobs/cronjob_daily_ssh.php

however when i enter this command as such in a cronjob I get an error saying php command not found ( or something similar , doing this out of memory)

I tried to add the full path to the php command, but also this doenst work

the best workaround I found was to execute the php scripts with a lynx - dump command, but obviously this is not the right way.

View 7 Replies View Related

General :: Create A Cron File That Will Regularly Perform A Level 0 Backup Once Per Month?

Mar 3, 2011

How do you create a cron file that will regularly perform a level 0 backup once per month?

View 2 Replies View Related

General :: Pass Parameters To A Shell Script Running As Cronjob?

Dec 7, 2010

I am new to bash scripting (not programming in general).

I am writing a bash script that will run a Python script I have written.

I want to be able to do the following:

Pass parameters to the bash script via the cronjob (so I can have two cron jobs) one to be run with parameter 'foobar', and the other 'foo'
switch based on the parameter passed to the bash script (by switching, I mean an if/else based on the paramter passed to the bash script).

View 3 Replies View Related

General :: Make A Cronjob Who Makes A Tag.gz Of Everything Inside A Directory In A Recursive Way?

Mar 23, 2011

I would like to make a cronjob who makes a tag.gz of everything inside a directory in a recursive way. BUT there is a HUGE directory full of jpg's. I don't want this one in the backup.Additional points if it can backup symbolic links.

View 2 Replies View Related

General :: Find A List Of Cronjob Return Codes For Unix?

Jun 24, 2011

Where can i find a list of cronjob return codes for linux/unix

View 1 Replies View Related

General :: Shell Script To Import .exp File To Oracle From Cronjob?

Nov 18, 2010

I am trying to import .exp file to oracle database. I have written a script for the same, but i am able to run it manually with out any errors , but it failing from cronjob(Even though i am using absolute path every where) Follwoing is the command i am trying to execute from shell.

/opt/ORACLE/product/bin/imp test/test@testdb full=y ignore=y buffer=1000 log=/data01/import_all.log file=/data01/test.exp

View 2 Replies View Related

General :: Cronjob Directory / Send An Email If Directory Contains More Than Ten Files?

Oct 13, 2010

I want to run a cronjob every 15 minutes that checks a directory for files. If the directory contains more than ten files I want it to send an email to me.

All I have is this...

*/15 * * * * ls -l | wc -l | [filename] | mail -s "This is just a test" [email address]

I would rather not write a bash script. Is there an easier way to do this? I was looking into some commands like find and grep.

View 6 Replies View Related

Fedora :: Display The Next Month Using Cal?

Sep 1, 2011

The "cal" command returns the current month. The "cal -3" displays the previous, the current and the next month.

How do you make it display the next month only?

View 11 Replies View Related

CentOS 5 :: Since 1 1/2 Month No Updates Via Yum?

Feb 21, 2011

I know this is not as easy or simple as I talk this questions for a free distro. Is it possible, that the last update for the update repository is from 07. Jan. 2011? I know I can get the srpm from rh and compile it by myself.

Is it right --> in case of new releases and limited resources the updates for supportet releases are not highest priority and so we have to wait a little or compile it manually from rh source?

View 4 Replies View Related

CentOS 5 :: Can't Execute Things In /tmp Now But Is There A Way To Execute Only One File And No More?

Feb 17, 2011

i created a /tmp partition amd mounted it like this:" mount -o loop,noexec,nosuid,rw /usr/tmpDSK /tmp"
I know i can't execute things in /tmp now but is there a way to execute only one file and no more???

View 1 Replies View Related

OpenSUSE :: Why Does System Gets Slower After A Few Month

Oct 7, 2010

My system (opensuse 11.2, kde 4.x) got significantly slower after a year of usage. Its response time is higher, boots longer. Filesystem is ext3 and is not fragmented. Number of daemons loaded on startup hasn't changed.

View 9 Replies View Related

Ubuntu :: 8.10 - Date And Time One Month Behind

Mar 5, 2010

When I boot up ubuntu 8.10 the time and date are a month behind. Is there anyway of correcting this?

View 8 Replies View Related

Server :: Keeps One Month Data - Rsync?

Jul 19, 2011

My rsync takes backup of everything from the differenct linux servers to my backup device which is 2 TB only .Since it takes almost full backup of source , it consumes space lot in the backupdevice. So i wanted to keep all my backup files of one month old latest files in backup device, it should remove all files more than one month data.

View 2 Replies View Related

OpenSUSE :: Install AWN For A Month Now On 3 Different 11.2 Installations And Kde And Gnome?

Jan 28, 2010

I have tried to install AWN for a month now, on 3 different 11.2 installations and kde and gnome, and would really like to know why I can't install it. I have tried:

- packman 1-click
- packman individual package installations
- rpm installation

and I keep getting these errors

- libawn1>=0.2.6 needed by avant-window-navigator-0.2.6-6.45.x86_64
- libpython2.5.so.1.0()(64bit) needed by libawn1-0.2.6-6.45.x86_64

and believe me I have tried to find these and have tried even similar looking things, no luck this is getting my opensuse experience down.

View 9 Replies View Related







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