Ubuntu :: Auto-run Script At Interval?
Jul 30, 2010
I am looking for a script that will, as the title says, run any commandsive it at intervals i set, also at startup.Any help to point me in the directionof a helpful resource or some basics I can add to with direction My searches have proved fruitless so far, and I have no chance of working it out on my own
View 4 Replies
ADVERTISEMENT
Mar 14, 2010
I'm wondering if anyone is aware of a way to cycle through workspaces at a set interval.. whether it be a screen saver or other wise
View 3 Replies
View Related
Feb 20, 2010
I want to find the cumulative CPU time used by each process between two points (defined by the user, e.g. running a command or clicking a button).
A first stab at this would be running
Code:
ps -eo pid,cputime
at the beginning of the interval and at the end, then doing some arithmetic on the two sets of results. But this only shows whole seconds of cputime ... and what about processes that started and stopped during the interval?
View 1 Replies
View Related
May 13, 2010
What are the Gmail Notifier Check Interval units? Would they be in milliseconds?
View 6 Replies
View Related
Sep 9, 2010
Is it possible to point to a two-digit interval with regular expressions?
Background:
I'm using mplayer to watch tv shows, that often have episode numbers in their names. I know how to easily add several files to the playlist by using brackets, by typing something like
$ mplayer tv/South.Park.S1.E0[1-5]*avi
Is there a way to point to files 06-13 in a single expression?
View 2 Replies
View Related
Dec 6, 2010
How to refresh a page automatically?Say for example i need to refresh page in ubuntuforums to get new questions.I feel lazy to refresh the page often.Is it possible to refresh the page automatically in a specific time interval?I have tried ReloadEvery Firefox Add-on.But it refresh all the tabs.What i want is i want to refresh a page in a particular TAB.
View 4 Replies
View Related
Mar 21, 2010
not sure if this goes here, but is there a way to get the mouse to continuously click automatically after a set time interval? (eg, 2 seconds) i've googled and found plenty of auto-clicking software for windows, but no luck for linux.
View 2 Replies
View Related
Mar 27, 2016
I use apt-mirror to sync a local copy of Debian repo on my HDD. I recently reinstalled my Debian setup, and now I can't seem to make apt-mirror run at regular intervals!? As far as I can recall (and as mentioned on different sites) all I have to do is edit /etc/cron.d/apt-mirror
I tried adding the following lines, but nothing works
Code: Select all0 0,6,12,18 * * * apt-mirror /usr/bin/apt-mirror > /var/spool/apt-mirror/var/cron.log
Code: Select all0 0-23/6 * * * apt-mirror /usr/bin/apt-mirror > /var/spool/apt-mirror/var/cron.log
Also, the log file is empty!!
View 2 Replies
View Related
Jan 16, 2010
I want to send email to a list of people at a certain interval without getting them detected as spam.
View 2 Replies
View Related
Jun 14, 2011
How can I adjust the interval between tracks on replay? I do not like the "no break ' default. So is there a way of setting a break of say 3 - 4 secs.
View 1 Replies
View Related
Apr 22, 2011
I am managing a PBX which runs redhat enterprise linux. The time on it is always getting out of sync, which causes the time on the phones to display incorrectly. I can't figure out for the life of me why the time keeps changing. How can I set it to update it's time every day or two? I don't want to hit ntp.org every day, as is recommended. What's the recommended interval for connecting to the ntp pool? The kernel is Linux 2.6.9-67.0.4 (from uname -a)
View 1 Replies
View Related
May 5, 2010
How can I change the time interval of the rtorrent for contacting the tracker server? I talk for the procedure which asks from the tracker new peers. currently in my rtorrent it is 3000 seconds which is not the best option when it comes to private trackers.
View 1 Replies
View Related
Oct 30, 2010
I am writing a C program which reads data over serial port. While reading data, if I send my data(which is a 13 byte structure) periodic with a period of 1 second for 10 times I read it without problem and I read the data 10 times as I sent and as I expectBut if I send data continuousuly(without any time interval between each sending) 10 times I can only read 1 of them(I can only read it once).
View 11 Replies
View Related
Mar 27, 2009
I have installed Fedora10 on my PC which had an XP. Now Fedora waits just 2-3 seconds to press any key to choose between XP and Fedora. Actually if I don't press any key it automatically begins Fedora. How can I increase this time interval?
View 3 Replies
View Related
Jan 6, 2011
I recently installed 32bit maverick and wanted to make it login automatically. I tried enabling auto login from Admin > Login but that didnt work and I was still prompted for my password. Then I went to Users & Groups and changed the password option to Do Not ask for password at login now after I reboot, the user list is shown (only 1 user) and it doesnt ask for password after I click on my username.
However, then it gives a few errors (as i vaguely recall):
1. cannot load .ICE directory in my home directory
2. some error 256 about a gconf-sanity-2 file
3. nautilus cannot load my home directory etc
and then it gets stuck without loading anything (blank wallpaper). i ve tried navigating to my home directory using Alt F2, gksudo nautilus and my home dir contents are encrypted by the ecryptfs (there is a readme.txt file and a shortcut). i have tried to decrypt but it doesnt work... i ve also tried to start/stop gdm, and startx but nothing works. if i stop gdm, then the prompt doesnt recognize my password and keeps on rejecting the commands i enter... I think this has something to do with the home dir not being decrypted due to the dont ask for paswd option... how can i disable the dont ask for pwd without the gui (i can access my / by booting through an external usb).
View 4 Replies
View Related
Mar 16, 2010
I would like to exec a script whenever a user mount a device. The device could be an internal device (for example a partition on a second hard disk) or a removable one (for example a usb hard disk). The script must have sudo capabilities even if the user is not included in the admin group. Is it possible?
The specific question:
I would like to add acl option to a device whenever it is mounted.
I tried fstab but it's changing the behaviour of nautilus see:
[URL]... so I would like to create a script with the command
Code:
sudo mount -o remount,acl /media/data
and auto execute it any time data is mounted.
View 1 Replies
View Related
Feb 20, 2010
Does anyone know if there's a way to make nano support auto-complete and auto-bracket closing?
View 1 Replies
View Related
Apr 22, 2011
I code primarily in jQuery/JavaScript, and I'm looking for a text editor for Linux that has auto-indent and auto-outdent (seems to be tough to find that). Any suggestions? I've checked Gedit, Cream, vim, Bluefish.None of them seem to have this feature.
View 2 Replies
View Related
Feb 3, 2011
I have noticed that a common issue to several distros is the fact that the networking subsystem doesn't automatically detect the link if an ethernet connection is disconnected and then re-connected to the NIC after boot. If the ethernet cable is connected after the system is up and running, nothing happens - ethtool eth0 shows link detected: no, and you have to restart the network service to let the NIC know that there is in fact a link, and actually connect. I have a Fedora14 (KDE) box with a brand new Asus motherboard with embedded NIC. Everything works great except the auto-detect of a freshly connected ethernet connection if the link is down to begin with.
Am I missing a ethernet link sentinel utility or something, or is this just the way linux works? I have done plenty of research on plenty of posts, and it seems this is a common problem, with no solution other than manually or programatically restarting the network service in a script to detect the link after a disconnect.
View 3 Replies
View Related
Jun 3, 2010
I press On-button, Debian boots, logs in and automatically connects to the Wireless network AND! to my local pc via LAN. It runs an ssh server, so I can ssh into debian over internet and communicate with the local pc (send a magic packet).Here are my problems:
1) I don't how to log in automatically. This and this doesn't work.
2) I need a network tool that can manage multiple connections and has a reconnect feature. With the default network manager I cannot even connect to more than one network simultaneously although I have two network devices of course.
And I guess I can run all that in console mode, right?
View 10 Replies
View Related
Jul 23, 2010
I recently installed a server with Software RAID. I tested by powering it down, unplugging one drive and powering it up. Magically, it worked!I found out later that I have to manually add individual devices like md1 to sda2 md2 to sda4. I got all of them added and rebuilt but my question is: Is there a way to make it so that if I "removed" a drive and put it back, the system will senses the new drive and rebuilds based on some internal table?
View 1 Replies
View Related
Apr 29, 2010
I try to configure mouse click interval since a single click is recognized as double click by doing it from KDE mouse configuration in system settings; but my attempt doesn't work even (I set the click interval to 2 sec, but doesn't change anything). What is the best way to do this in slackware?
View 4 Replies
View Related
May 12, 2010
I am running Ubuntu 10.04 and using Ubuntu One that is auto starting. When my system starts I soon receive a notice to unlock the Password keyring. I tried using the method suggested to prevent this using the procedure outlined in the Ubuntu One FAQ. On my system that does not appear to work. Are they other methods to have Ubuntu auto log in without a prompt?
View 4 Replies
View Related
Dec 6, 2010
I have a few computers set up in my room, but only 2 monitors. Therefore, I typically connect via VNC to use these computers, which works great on my local network.
My problem is that, after Ubuntu restarts, it requires the password for the login keyring before it will allow a VNC connection request. EVENTHOUGH I have it set up to automatically accept incoming connections.
Therefore, before I can VNC to any of these machines after a reboot, (for software updates, etc.) I have to connect a monitor, keyboard, and mouse, just to type in my password.
View 5 Replies
View Related
Jan 26, 2011
My previous installation was old and cranky, so I reformatted and updated Ubuntu 10.10 last night. While installing RSSowl, I double checked the distribution name (by going to System > About Ubuntu) and it says 11.04 Natty Narwhal. I have no idea how that happened since all I did was do the suggested software and security updates.
Just an hour ago I did another reformat and reinstall. After everything was done, I double checked the version number upon my first login and it said 10.10. Then I go and click okay on the suggested updates and after it was maybe 75% complete, I checked the version # and it now says 11.04 again!
View 2 Replies
View Related
Apr 14, 2011
I'm using a Three network broadband dongle for my net access at the moment. That's a ZTE MF-112.
It is obviously engineered for Windows and the procedure it goes through on a Windows box is to show up as a CD drive initially which then autoruns and checks for the presence of the drivers and installer software. Only after it has detected all that does it 'eject' the CD and bring the actual 3G device online.
This leads to a slight amount of... irritation. I tend to have a terminal window open anyway so typing /dev/cdrom1 eject whenever I put the dongle in is no particular hardship, bu there must be some way to automate this.
The device turns up on /dev/cdrom1 and the 'disc' has the label '3 Connect'.
how to auto eject this thing whenever it shows up?
View 5 Replies
View Related
Jan 8, 2010
Is there any way to specify what partitions of my USB Hard drive automount? There's really only one I want mounted automatically, and I've made three partitions. I'd like it so the one mounts, but the other 2 don't. Possible?
View 6 Replies
View Related
Jan 28, 2010
I originally had Ubuntu 9.10 desktop. Then I resised the partitio with the ubuntu moblin installer and installed ubuntu moblin remix(which is an interesting little distro!), but now, when I turn it on, it auto highlghts the moblin partition with (boot in 5, 4,3...). I know this is not a bug, it's just a pain.
Does anybody know how I can highlight anther entry?
View 4 Replies
View Related
Feb 4, 2010
How to Schedule auto shutdown in Ubuntu? I am a newbie. Last night I have some downloads in progress while at the same time I really wanted to go asleep. So I wondered if there's a way to schedule auto shutdown the system after a set period of time. I heared its possible using command line but dont know the usage.
View 9 Replies
View Related
Feb 21, 2010
I have a 500 GB ext4 formatted HHD which i have to manualy mount when ubuntu starts. I have read much on the topic but am still unsure what i should add to fstabmy output when entering "sudo fdisk -l" is
"Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]....
View 7 Replies
View Related