Ubuntu :: Scheduling A Script To Run Does Not Happen?
Mar 23, 2011I can not get 'crontab' to work.Below is the results of 'crontab -e':
Code:
10 * * * * /usr/bin/sigrot
0 18 * * 5 /usr/bin/tff-meeting-mail.sh
[code]....
I can not get 'crontab' to work.Below is the results of 'crontab -e':
Code:
10 * * * * /usr/bin/sigrot
0 18 * * 5 /usr/bin/tff-meeting-mail.sh
[code]....
Its on an older laptop, a Toshiba Sattelite M50-252. A friend of mine had this laying around, and it wasn't running windows very well. So I installed Ubuntu 9.10 on it and it was performing decently enough for browsing and mailing.
On Ubuntu 9.10 there was a problem sending large images for printing. It would make the printer (A brother HL-4050 CDN, placed on the network) say out-of-memory. Same print job from windows would not make this error. Upgrading the system to Ubuntu 10.04 worked.
Actually, I had before tried 10.04 on the machine but ended up formatting and reinstalling 9.10. This was because browsing on 10.04, no matter what browser, would simply hang randomly. A search on google could be performed, and some pages loaded. But some pages didn't load at all or only a few % of them, and the browser would just claim to be "resolving host".
On 9.10, on all 3 installs i've done on the machine, this problem was NOT to be found.
Here goes the real issue: 4 days ago I installed 10.04 to test again(6 months after its release, lots of updates has been done), and browsing worked great. The laptop has been used a lot since then and now yesterday it started stalling again. The most interesting thing is that APT-GET works fine. New software downloads with a snap. Also WGET with a single file works (although it seems to hang at the resolve once in a while).
Why on earth did it suddenly start to behave like this? Nobody with even the knowledge of using SUDO has been using the machine and it has been used ONLY for browsing. Automatic updates are disabled as well. Even weirder, this happens both using the wireless network card and cable.
I have no idea whats going on. Ubuntu 9.10 works always. 10.04 worked the second time (after a few months of updates) but started stalling after a few days. The system itself runs perfectly well, and there is nothing wrong with apt-get and so on as i said.
I found advertising about a security update for firefox yesterday. Today I downloaded the patch from slackware official site. My slackware is a 13.1 version i686 So I downloaded mozilla-firefox-3.6.10-i686-1.txz I installpkg the file successfully.
Know, when I run the browzer, nothing happen.
How the rpms work? Are they packages with a script file within them which run once they are downloaded? I want to know if there is anyway, I can see all the commands that an RPM package runs on my server when I do a `yum install ....` or `rpm -Uvh ....` Are those opensource or not?
View 1 Replies View RelatedI want to resize and eventually remove some partitions on my drive but I need to know how this will affect grub and what to do if I need to fix it.I currently have 3 standard partitions and 1 extended partition on a 160Gb drive.
1st Partition -Windows XP about 60Gb with about 35Gb used. NTFS
2nd Partition -Ubuntu Lucid 10.04 amd64 about 40Gb, 22Gb used ext4
3rd Partition -Linux swap about 2.5Gb
Extented Partition -Ubuntu 9.10 about 49Gb with 23Gb used ext4
I'd like to shrink the Extended partition down and add the space to the 2nd partion where Lucid is. Eventually, I'll want to delete the whole extended partition and add all the space to the Lucid partition.
After using GParted to resize these partitions, what will happen when I boot? Will I need to tell grub where the swap and 9.10 are? I am not changing the start of the first two partitions so I would assume there will not be any problem with them (I'm not sure how moving the start of the swap might affect the Lucid installation though).
i am considered a power user in windows but in ubuntu ima total noob. in the users settings, manage groups, i see like 100 groups. and thats just annoys me, all i want is to be the admin and everything to work its not rocket science is that so hard for linux? I DO NOT WANT TO BELONG TO A FREAKING GROUP I JUST WANT 1 SIMPLE ADMIN ACCOUNT. someone please explain everything related to this subject. i mean i see stupid groups like 'audio' and 'couchdb'. WTFi dont want these useless groups to exist on my system
View 9 Replies View RelatedI just installed Ubuntu 11.04 server edition into vmware workstation. Everything works well and I can even set-up a LAMP server.
Next, I issue a reboot or shutdown to my ubuntu server.
The next time I want to start up my ubuntu server, it won't boot up. There is only a black screen with no flickering cursors.
Anyone knows what happen?
If I execute
cal 2013
in terminal, it echoes the calendar for the year 2013. For the matter of fun, I'd like the terminal to echo
This year won't come.
How should I do this? I tried adding it as an alias to .bashrc, but I cannot create aliases with spaces.
EDIT:
The final solution:
echo "cal() { if [[ $@ > "2012" ]]; then command echo "This year won't come."; else command cal "$@"; fi; }" >> ~/.profile && source ~/.profile
I am a beginner of Slackware. I am using Slackware 13.1. I want to know, when I add an user in Slackware, which files and folders will be create in Slackware?
View 2 Replies View RelatedPresuming ubuntu was dual-booting alongside windows with GRUB, and I formatted the ubuntu partition, what would happen at startup; would I still be able to access windows, and would the option to boot ubuntu just disappear?
View 7 Replies View RelatedI am having a problem with sound in a range of applications. Playing an mp3 file is OK for 30 seconds or so, and then it seems to skip and make crackling noises. Stopping and replaying the file causes the same thing to happen again. I have installed all the mp3 codecs so i'm not sure what's going on.
View 14 Replies View Relatedi want to know two thinsg about yum update
1) does it overwrite existing configuration files that is will i need to reconfigure every service after running yum update
2) If somebody pushes the reset button or electricity to the system is reset while yum update is running what will happen i think there can be two stages to that
a) if it is still downloading while the electricity to system is reset
b) it is installing while electricity to system is reset
I want connect from remmina to jessie on another system via xdmcp but only black screen happened.
my daemon.conf
Code: Select all[security]
DisallowTCP=false
[xdmcp]
Enable=true
[debug]
Enable = true
And gdm3 listen on udp/177. My syslog :
Code: Select allJul 16 10:17:46 office /usr/bin/dbus-launch[1455]: X Error of failed request: BadValue (integer parameter out of range for operation)
Jul 16 10:17:46 office /usr/bin/dbus-launch[1455]: Major opcode of failed request: 140 (RANDR)
Jul 16 10:17:46 office /usr/bin/dbus-launch[1455]: Minor opcode of failed request: 7 (RRSetScreenSize)
Jul 16 10:17:46 office /usr/bin/dbus-launch[1455]: Value in failed request: 0x0
Jul 16 10:17:46 office /usr/bin/dbus-launch[1455]: Serial number of failed request: 150
[Code] ....
how can I use sar in order to get information about the scheduling?
View 1 Replies View Relatedwhat is disk scheduling and how does it work? and how is it done in ubuntu 9.1
View 2 Replies View RelatedI am wondering about scheduling audio playback under Ubuntu. The background is this: My birthday is fast approaching, and I always try to do something to remember the best birthday gift I ever received, that being the Apollo 11 mission; Neil and Buzz landed on my 12th birthday.
Anyway, I have a wagonload of audio from nasa.gov and would like to schedule the MP3s to play in real time. 'at' won't do it, at least with 'mplayer'; I've tried. I suspect that because there is no controlling terminal for jobs run under 'at', the audio has no place to go. Is there some way to get a controlling terminal for these audio playback jobs, or specify a destination to some player?
I was searching for many time but haven't found any solution. Cron would be great, but it allows only steps in range 1-59 minutes. Is there any mode to run something exactly every 73 minutes?
The second i need (the same problem) to run program little more than every 12 hours, it might be in steps of 12 hours and 4 minutes (but 13 hours is much too much).
lost my internet connection on fedora 12 ? i try to assaing the ip address manual in the configruation part but no nothing happen I've tried googling for the problem
View 4 Replies View RelatedI was looking for some film info and ended up at the Apple quicktime website. Clicked on the video preview option (expecting nothing to happen) and it played in a kaffeine window.
View 4 Replies View RelatedI have a computer running Ubuntu 9.10 as a server (it is in standard Ubuntu not Ubuntu server edition). I have 4 1TB hard drives, three of which I want to back up to on certain days of the week. I have tried using Lucky-Backup and Rsync but neither seem to be able to handle the amount of data (there is currently about 400GB). Does anyone know of a program that can run scheduled backups of this size?
View 3 Replies View Relatedgood download manager for ubuntu with scheduling support .I tried wxdownloadfast , fatrat, roxbird, multiget . The roxbird didn't start at all . In other three, downloading works but scheduling simply doesn't work . Nothing happens at the scheduled time.I prefer a graphical one because I can suggest it to my friends using ubuntu . If you know a working (I mean scheduling) command line one, please tell that too am using 64bit ubuntu lucid . I don't know whether that is the reason why scheduling didn't work
View 2 Replies View RelatedI have a script to record a weekly radio show from a Sydney radio station.I am in Brisbane.Sydney and Brisbane are both in the same time zone but Sydney(NSW) bounces around on daylight savings time and Brisbane(QLD) does not. Is there a way to specify a timezone for a specific job in the crontab file? If so what would be the format for Sydney so it follows the daylight savings time changes? Right now I will just change the cron schedule when Sydney goes on and off DST.
View 9 Replies View RelatedI have a cron job to schedule the task on the third sunday of the month.I saw the previous threads but didn't find any solution.
How the cron syntax can be written.
We are seeing some strange behavior on a Set top Box with the scheduling of tasks. We use 2.6.12 kernel. The issue is when we create a Task, say task1 with a priority of 46.But,this task is not Scheduled to run by the scheduler right away. It gets chance to run only after sometime. What we see here is that I create many other tasks with lower priority than task1,but they are immediately scheduled. Ideally, the task1 should have got scheduled before certain other low priority tasks as it has higher priority. Any patch is available wrt this?
View 3 Replies View RelatedI've searched for ways to do this with cron and come up empty. I want to schedule the update manager downloads for the 2-7am hours to avoid being penalized by my satellite service provider for excessive downloads. No, I can't change providers as I live in a rural area where it's the only relatively high speed option
View 4 Replies View RelatedI am a Mac user who has been using Audio Hijack Pro for many years. I use it to record radio shows from the station I work at. One of the nice features is that it has a built in scheduler that I use to record shows at different times and dates.[URL]
View 5 Replies View RelatedIf I wanted to schedule a perl script to run every weekday at 1800 hours, should I setup a cron job. once I do so, if I want to cancel it, how do I undo it. Do I have to just type this at the shell prompt to set up:
Code:
0 18 * * 1-5 root /home/test.pl
kindly give me example of earliest deadline first scheduling?
View 5 Replies View RelatedI want to change linux scheduling algorithm for some of my processes but when I click on processes in ksysguard and click renice project, all of the processes use normal level cpu scheduling. Why is it such a thing and there is no priority?
View 2 Replies View Relatedi think we can simulate preemption by using 2 different priority thread, am i true? I just try these scenario :
1. Create Thread A with priority 99 , SCHED_FIFO..
2. Create Thread B with priority 4 , SCHED_FIFO
Thread A started and doing some busy work.. I guess that Thread B wouldn't start until thread A finished, but I get thread B can run before Thread A finished (It just like a common task switching).. I'm sure my 2 thread has right priority. and if thread B is doing some work and if i yield it to thread A, it should preempt it but this doesnt happen, do someone kno wats happening?