General :: Verifying That Cron Job Completed
Mar 30, 2010
Is there a command that can be run to verify that a users cron job has run successfully?
Platform is Ubuntu 8.04 LTS.
I have scripts in /home/useraccount/bin/
running
crontab -l
While logged in as user results in:
# m h dom mon dow command
@hourly /home/useraccount/bin/script_1
@hourly /home/locateruser/bin/script_2
I realize scripts could send email or write to a log with a timestamp, but wondering if there is just a way to verify it ran from the command line.
I ran
ps -ef|grep cron
... and it shows
root 4358 1 0 Mar12 ? 00:00:00 /usr/sbin/cron
Not sure if this indicates it is running the jobs though....
View 4 Replies
ADVERTISEMENT
May 5, 2011
I was a windows XP user and one fine day my windows crashed and blue screen of death appeared. I have downloaded Ubuntu and created an ISO image on my pendrive with the help of the another computer as per the steps mentioned on the linux website. Now when am tryin to boot my corrupt PC with pendrive i cannot move beyond the comment " verifying DMI pool data" nothing happens later.
View 3 Replies
View Related
Aug 5, 2010
My question is not related to technical one,
1.I completed my Post Graduation in 2008,after that as of my personal interest on Red Hat, i took course on that and completed the RHCE certification.
2.Now im looking 4 opportunities on Linux Admin,i would like to know the roles played by an Linux Admin in real time scenario,im looking for an System Admin.
3.What i mean to ask is, what type of daily tasks does Linux Admin will do? Let me know the answers if any one know dis.
View 2 Replies
View Related
Feb 9, 2010
Is there a way to get a summary of how much bandwidth a given process used on Linux after the process completes? I do not want a monitor, I want something I can look at after the task has completed..
Ideally something like the "time" command or a profiler, but for network usage.
View 3 Replies
View Related
Jul 30, 2010
For example I am copying data to USB-flash drive using some file manager. When the file manager shows that transfer is complete, flash drive indicator continues to light. As far as I know this is some kind of caching system...
1. Is it OK to close file manager when transfer window is closed but the flash drive indicator continues to light (data is still being copied)?
2. Is it better if I turn off this caching technology?
View 1 Replies
View Related
Feb 17, 2010
i recently install openoffice in fedora 12 and error occured the error is : the action could not be completed because the name org.freedesktop.packagekit was not provided by any .service files. what is link to download latest openoffice for my fedora 12,?my laptop model is asus k50in.
View 1 Replies
View Related
May 5, 2010
i would just like to verify that the command
lspci would show the FC adapter installed
is there any other command that i can use to verify the FC adapter is being installed
View 4 Replies
View Related
Apr 29, 2011
Can anyone tell me how i change the default domain name for cron?everything i cron runs it emails from and to user@com.com
this leaves me with a massive list of failed mails in postfix.i have mailto on my main crontab but i cant do it on all of them.
View 1 Replies
View Related
May 26, 2011
Is there a way in svn to verify if an already existing file tree that "should"be at a given revision is in fact correct at that revision?I had an earlier revision and obtains patches via svn diff for subsequent revisions, and applied them up to a given revision (or head). Now consider that perhaps some error happened during the application of these patches, or perhaps a file just got corrupted. What I would want to do is just verify if the tree I have now at this revision is the exactly tree I would get at this revision ... without actually pulling down the whole revision.Note, I want to do this for exports, not for checkouts. That may make it simpler since the result of svn diff seems to only be for the actual data files.
View 14 Replies
View Related
Jan 29, 2011
I have added some executable scripts to /etc/cron.daily but don't get the stdout/stderr output from them as mail (or anywhere else I have found). At least one of them is running (because I can see that it has added a file to the disk).
The peculiar thing is that I do get the output from /etc/cron.daily/0logwatch (part of the logwatch package) as an email each day.
The MAILTO line in /etc/crontab is "MAILTO=root" (unchanged from default). Same for /etc/anacrontab.
I do have an alias at the end of /etc/aliases which redirects root's mail to my own account, but this alias works fine for mail I send manually. (It also appears to work fine for the output from the file /etc/cron.daily/0logwatch.)
View 3 Replies
View Related
Feb 25, 2010
It seems that cron is not upgrading my Ubuntu 8.04 LTS Server, no GUI installed. I changed /etc/crontab and watched apt running:
Code:
ps -A | grep apt
showed it for a long time,
Code:
sudo tcpdump tcp
showed communication with canonical sites,
but:
Code:
top
did not show any apt using CPU
[code].....
View 2 Replies
View Related
Sep 19, 2010
I put in my cron entries to run my backup script which rsyncs my data to my 2nd drive, however on a hunch I checked my backup drive which mounts automatically via fstab and I realize it had not ran in a while. I checked cron and there were no entries for it. I got to wondering if I should ever be worried about a cron update coming down and over-writing my existing cron file with the backup entries in it to run.
View 2 Replies
View Related
Feb 16, 2010
I have set up a cron in /var/spool/cron/root
*/15 * * * * /usr/bin/phplist.sh
I can see in /var/log/cron that it is running every 15 minutes but it has no effect. It is not doing the commands in the bash script.
If I run /usr/bin/phplist.sh right in the shell it works great.
View 3 Replies
View Related
Dec 26, 2009
I've been having trouble writing to DVDs on one computer, and I am trying to figure out whetgher the problem is hardware or software related, or, perhaps, both. The brasero CD/DVD writer puts the md5 checksums of each of the original files in a hidden file on the DVD. I think it then calculates the sums of the copies and compares, but the last time I did it, it told me it had permission problems with the drive, and that failed. When I put the DVD in, udev finds it and mounts it in /media with me as its owner. Apparently, brasero mounted it some other way, and presumably that caused the problem.
Secondly, after I brought it up again, I went into the /media mount point and did md5sum on the files there. One of them a gzipped tar file, produced and input/output error. Yet if I use cmp to compare that file with the original it finds no difficulty. So what is going on? Finally, I have tried to write shell scripts which use cmp to compare the original files with the copies. The general form is
cd XXXX
find $* >> /tmp/X
for i in `cat /tmp/X`
do
cmp $i YYYY/$i
done
where XXX is the mount point in /media and YYY is the original directory containing the relevant files. This works fine except that if the file names have spaces in them, the shell script treats each word as a new file name. So I need some way to arrange things so that `cat /tmp/X` returns the complete file name. Nothing I've tried works.
View 3 Replies
View Related
Nov 20, 2010
I just started dual booting Ubuntu 10.10 on my mini 10v with OS X a couple days ago, so I'm still pretty new to Linux.
But anyhow, I was attempting to change my User ID number so I could access the files in my User folder on my OS X partition. So, I tried entering the following commands:
sudo usermod -u 501 yourusername
sudo chown -R 501 /home/yourusername
Of course, smart me should've realized I should've been logged out and on a different administrative account to do this. But I didn't, and I believe the second command didn't work. So, whatever, I thought I'd try logging out and logging in as root.
So, I logged out, tried logging in as root, and of course, no dice because I didn't know the password. So then I tried logging onto my account and upon logging in, I got two errors. One was about ".ICEauthority" and I didn't keep track of what the other one was.
Great. So I did a quick google for the error, then tried entering these codes:
$ sudo chown user:user home/user/.ICEauthority
$ sudo chmod 664 /home/user/.ICEautority
$ exit
[Code].....
And again, I think the last one didn't work. So, I looked up how to login as root, changed the password and logged in as root successfully. Then, whilst in root, I entered:
/usr/sbin/usermod -u 12345 joeuser
/usr/bin/find / -user 701 -print | xargs -t chown joeuser
/usr/bin/find / -user 701 -exec chown joeuser {} ;
Upon entering those, I logged out and logged back into my account and everything was a complete success. No error messages anywheres AND I could access the files in my Mac user folder.
So, here's my question. How can I make sure I have all the right permissions I need? Or do I already have the all of the permissions I had before changing my user id?
Did those last three lines of code I entered "override" all of the codes I had entered previously? I just want to make sure verify I have all the correct permissions necessary so I don't run into any issues later on.
View 5 Replies
View Related
May 9, 2011
I'm trying to create a torrent file via the command line. I used "transmisson-create", but since the .torrent file is binary I can't read it using "less" or "nano". Is there a way of verifying that the torrent I created was correctly done? I know I could probably upload the .torrent file to my public server and then use another torrent client to test, but I simply want to see what's inside the .torrent file to verify that it got all the files I wanted. I cd'd into the directory with the files that I want to torrent and ran the following command.
Code:
$ transmission-create -p -t http://tracker.openbittorrent.com/announce *
View 4 Replies
View Related
Apr 30, 2011
opensuse v11.3
linux 2.6.34.8-0.2-desktop x86_64
It took me 3 tries to get is ISO image that matched the md5 checksum on the download site. At 8 - 10 hours each it was a PITA. The first simply aborted 1/3 of the way through (HTTP direct link). The second used wget, got a full file but the checksums didi not match. The magic method was Bitorrent.
All this has left me with an uneasy feeling about the contents of the DVD created from the ISO. Is there a way to test the DVD contents?
View 9 Replies
View Related
Mar 1, 2010
I am reasonably technical but new to Linux. I almost guarantee there will be simple things that I don't understand. I am trying to get a USB wireless adaptor working with aircrack-ng and have managed to find that I should have the mac80211 drivers installed and active to support the rtl8187L and B chips. (I also need to patch them apparently, but first things first).
I am working with Ubuntu 8.04LT (I am fairly sure) and do not seem at the moment to be able to update to a more recent version on the target machine. The kernel is 2.6.24-27. I followed instructions to blacklist the r8187 and ieee80211 modules, which seemed to go quite smoothly.
I now need to get the mac80211 module loaded, but can't find out how. The information at Aircrack-ng and related sites seems to indicate that I expect the drivers to be already in my build of Ubuntu but they do not seem to be loading. The suggestion seems to be that they will load automatically. I have found some stuff in /lib/modules/2.6.22-14 and /lib/modules/2.6.22-27, and also in /usr/src/linux-headers-2.6.24-27 which is probably relevant but I don't know what if anything to do with it. If anyone needs more detailed information, just tell me what you need to know, and how to get it.
View 1 Replies
View Related
Mar 10, 2011
I need with some iptables rules. I've done all I can, Googling all over, to cover as many exploits as possible and the following script is what I've come up with. The current set up works and I've checked with NMAP. I just need some sort of confirmation that this is pretty much what I can do.
Code:
LAN="eth0 eth1"
RANGE=10.1.0.0/17
WAN=eth2
# Delete all existing rules
[code]....
Also, if I wanted a broadcast to be relayed to all subnets within a defined range, how would such a iptables rule look like? I need this in order to find a networked Canon MP640 printer.
View 1 Replies
View Related
Feb 9, 2011
Is my vixie-cron broken? i have "0-59 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" but it is not running in /etc/cron.d.
Code:
View 2 Replies
View Related
Apr 27, 2011
I want to download the dev snapshot of Synfig from SourceForge
[URL]
The link on this page includes some kind of checksum I tried to MD5 and SHA1 the downloaded file from the link, it won't match Downloaded it again, same thing Is there something wrong with this file (damaged upstream)?
View 3 Replies
View Related
May 24, 2010
My used OS:
Linux version 2.6.18.8.xs5.5.0.13.442
(gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21))
After executing
[code]...
View 2 Replies
View Related
Aug 30, 2011
Im trying to install ubuntu 11.04 over my current fedora 15 due to lack of compatibility with my itouch 4g.
Heres the steps i take:
Open LiveUSB-creator.
Point to .iso file for 11.04.
Select proper device
Then it gives me an error like so:
There was a problem executing the following command:
A more detailed error log has been written to '/tmp/liveusb-creator.log' ISO MD5 checksum verification failed.
View 4 Replies
View Related
May 20, 2011
I was dual-booting Windows 7 and Ubuntu 10.10 till recently. Then I had to reinstall Windows. After re-installation of Windows I did not try to restore Grub and deleted Ubuntu partitions on disk thinking that I'll install newer Natty version. But now when I try to install Ubuntu 11.04 using pen drive it gets stuck in bios showing message "Verifying DMI pool data ....". I also tried to boot GParted, memtest and Windows 7 with the same pen drive. Same thing occurred with GParted and memtest but Windows 7 installation did not stuck and went as usual. So I guess it's not hardware.
View 5 Replies
View Related
Nov 20, 2009
I've been trying to burn Suse 11.2 to a DVD now for a couple of days but I keep running into trouble. When verifying a disk after burning Suse on it it keeps giving me errors. I've tried Nero and ImgBurn, different burners, different ISOs, different burning speeds (downloaded via torrent and http) but it keeps giving me the verification error.
The only thing I haven't tried is a different brand of DVDs but until now I've never had any problems with this brand.
View 9 Replies
View Related
Dec 24, 2010
I installed ubuntu 10.10 on a machine that had windows 7 x64. itts installed on a seperate HD, but now when I boot to the harddrive with windows 7 all i get is "verifying DMI pool data" how do I fix this so I can get back to windows 7 as well?
View 9 Replies
View Related
Jun 26, 2010
just reinstalled my 11.2 64, im truing to install skype and im getting this message: The action could not be completed
View 9 Replies
View Related
Jan 8, 2011
when you do a barrybackup where do the backups go when completed?
View 5 Replies
View Related
Sep 17, 2014
I'm running Debian Jessie 64bit, the X-window is xfce4, I found the 'OpenJDK Java 7 Policy Tool' entry is already under the Settings menu, it seems appeared after I customized jessie a little, that installing nvidia driver, virtualbox ose, adobe reader and adobe flash player. From console, I can check there is java, but no javac.For doing java programming, I don't know if the OpenJDK was complete installed or not, should I continue to use it or remove it to install Oracle JDK?
View 1 Replies
View Related
Mar 22, 2010
I'm writing a file handler script that monitors (via a cron job) a directory that is an openssh sftp target for new files. When it detects a new file, it moves it, does an scp to another system, and sends an email. The problem I have is that I can't figure out a way to verify that the sftp upload is complete before I start manipulating the file.
View 1 Replies
View Related