General :: Scheduling Shutdown After Download Completion?
May 20, 2010Is there any way to schedule shutdown, from terminal,right after some currently running download in mozilla completes??
View 6 RepliesIs there any way to schedule shutdown, from terminal,right after some currently running download in mozilla completes??
View 6 RepliesI switched to zsh, but I dislike the completion. If I have 20 files, each with a shared prefix, on pressing tab, zsh will fully complete the first file, then continue going through the list with each press of tab. If I want one near the end, I would have to press tab many times.
In bash, this was simple - press tab and I would get the prefix. If I continued typing (and pressing tab), bash would complete as far as it could be certain of. I find this behavior to be much more intuitive but prefer the other features of zsh to bash.
Is there a way to get this style of completion? Google suggested setopt bash_autolist, but this had no effect for me (and no error message was printed upon starting my shell).
good 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 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.
Is it possible to use TAB completion in a script. For example I have a folder (A) that contain only one folder (B) and the script file.
Quote:
mahmood@localhost:A$ ls
B
script.sh
How can I send TAB key code in script?
kindly give me example of earliest deadline first scheduling?
View 5 Replies View Relatedi want to do scheduling using /etc/crontab file instead of using crontab -e that is crontab command on the terminal.i am appending to the crontab file in the /etc directory but the scheduling is not happening
View 7 Replies View Relatedis linux kernel is priority preemptive kernel?if it is. where it is using round robin scheduling algorithm?when processes are scheduled for the processor process will be allocated as which sechudling alogorithm?
View 1 Replies View Relatediam try to schedule my job in a file made in /etc/cron.d file as follows* * * * * tomcat6 /home/etika/Desktop/eka.sh /home/etika/Desktop/ea/etika.txt abc@gmail.comwhere eka.sh belongs to etika which is the root and etika.txt belong to tomcat6 this command is not running iam confused about the name of the owner written after the *'s please tell me whose name is written after the *'s(the schedule of the script) the owner of the script or the owner of the file which iam passing as an argument to the shell script
View 2 Replies View RelatedAre there shell versions that have a more intelligent tab completion? I'd like to be able to type cd foo-<TAB> Then it would show me the possible completions along with numbers that I can type to select one of them:
cd foo-<TAB>
(1) foo-bar1 (2) foo-bar2 (3) foo-bad
So, after <TAB> I would type 3 and it would take me to foo-bad. Alternatively, using the arrow keys instead of typing the number would be fine.
I wondered if theres a way to do rotational style completion in bash similar to the behavoir on cmd.exe, I've found it speeds me up in regard to entering commands
View 2 Replies View RelatedI am using ubuntu 9.04. I created new users, & users logged in with their name & password. Everything is working fine. But when they open gui terminal or when they login using CLI(using ctrl+alt+f1), they will get only "$" symbol, instead of full path like pwd, hostname, etc. And if I do ls, it is listing the content, but command completion is not happening, i.e $cd Des(pressing tab). These all things can be fixed only after pressing "bash". So I don't always want to press "bash". So is there any way that I can fix this issue.
View 6 Replies View RelatedI have played around a little bit with CGROUPS and the fair group scheduler ( using kernel version 2.6.31). When you have CGROUPS in a flat structure, with only one layer from the root-cgroup, everything works as you might expect when setting the cpu.shares parameter, i.e. a fraction of the total. But when I experimented with having deeper levels of CGROUPs it did'nt make any sense sometimes. For example, I had one CGROUP with the maximum number of shares (260000 something) , and two childgroups with quite little shares, 5000. Then I created some cpuhogging processes ( while(1); ) and put most of them in childgroups and one in the parentgroup. The logical thing would be if the parentgroups single process took almost all CPU-time, as it had the maximum number of shares, but instead the processes in the childgroups got the most CPU-time.
I have tried to figure out how it works by looking at the source code, but I can't really understand it. How does the hierarchical structure of the cgroup-tree interact with the flat aspect of it, i.e. siblings? Or do I misunderstand the whole concept?
How to modify kernel to non-preemptive process scheduling only. Suggest any site that provides this kind of source code.
View 1 Replies View Relatedam newbie and i have problem to write a scheduling script in java, this script should do something in certain time interval... Could anybody help me, maybe give some example or source that maybe useful
View 3 Replies View Relatedhow to modify kernel source to make its process scheduling to non-preemptive and FCFS ?
View 2 Replies View RelatedI am writing completion function for one PHP framework called symfony. It has command line interface with syntax:
Code:
symfony [options] [namespace:]action
I want to make action be autocompletable. The function is simplest so far:
Code:
function _symfony_commands()
{
[ -r "cache/completion/.sf" ] && cat cache/completion/.sf
}
[code]....
But, if there is : symbol which separate namespace from action problems coming:
symfony doct[TAB]
will be completed to
symfony doctrine:
But nothing happens if you want complete after : symbol. I've found out that for readline there is three words because it splits line with $COMP_WORDBREAKS
Code:
$ echo $COMP_WORDBREAKS
"'><=;|&(:
I played with $COMP_WORDS array and tried every thought I had to make it work, but failed.
What I should do to escape colon and make readline consider it as one word? Or there is way perhaps to workaround it?
I am proposing moving from the mainframe to Linux. Problem is that I am not aware of a scheduling product that is available to handle the production code. Currently using CA7. Is there anything out there that accomplishes the same thing? As you can tell, I am NEW to Linux!
View 1 Replies View RelatedI use PuTTY to connect to an Ubuntu Server (VPS). I would like to use Tab-Completion when I'm working with the command line on Ubuntu Server... How can I configure it?
View 1 Replies View RelatedIs there a way to get colored output when using tab completion in a terminal? My colors are fine everywhere else so I know that I've enabled a color terminal successfully. Using bash in Ubuntu (10.10).
View 1 Replies View RelatedI have some scripts that do usual stuff like backing up MySql database, gz, tar some files and put them on FTP or sync with some other backup/mirror system. Some scripts are running quite frequently (like twice/thrice per hour). I am sending email with attached log output from commands after completion of job. It is quite a lot of email to keep track of.I want to send email only when script fails to do something, that is when some command in script fails. How can I accomplish this?
View 2 Replies View Relatedtab-completion indexes system folders (like /usr/bin, /usr/local/bin)! so say i'm in a folder that has two files, 'text' and 'myprog', i type in an 'm' then tab, and i get hundreds of results including 'mysql', 'mysqlconfig', and others as im sure you can imagine. is there a way to set it to default or something else that will only make it index the current folder?
i tried changing my PATH variable so i could execute programs in the current directory without './' - what i added to PATH was ':.' at the end (apparently this is not the way to do it... :S). i tried resetting PATH various times ('unset PATH', 'PATH=$whatever...') but this has not fixed the problem. using 'unset PATH', of course, removes everything from PATH, which meant that functions (like 'ls') in /usr/bin and /usr/local/bin can't be found. obviously i want those to be found, but i would rather not tab through them!
I cannot locate shutdown log for Linux shutdown to check various activities carried out during shutdown. I can view Startup Log which is availble on console>Applications>System Tools>System Logs.
I have included Shutdown/Startup in dbora, so that Oracle 10gR2 Shutdown/Startup will be automated during OS Shutdown/Startup.
I want to check Shutdown log because Oracle Shutdown was not running, as from $ORACLE_HOME/shutdown.log contains no entries, where as startup log contains latest startup details.
That means here 2 issues are there. One, I want to locate OS Shutdown Log and the other being Why Oracle Shutdown not getting executed.
How do i log the start/completion (time&date) of my cron job script? i want to be able to see what time it started and what time it finished? and if there where any errors while running my script.
View 3 Replies View RelatedI switch between Linux and Windows quite a lot and it's annoying the hell out of me that the Windows command prompt won't auto-complete directory paths when I press Tab if I use forward slashes like in Linux.For example, if I'm trying to navigate to a directory 'bin':
cd /path/to/dir/b <tab> - this won't auto-complete to 'bin'
cd path odir <tab> - this will auto-complete.
Can I tell the Command Prompt to use forward slashes instead?
1) Any process (including boot, shutdown, download, open programs, etc) is freeze (don't have any progress) until I move the mouse or hit any button, so for install and use my ubuntu I have to keep moving my mouse and as you imagine is VERY TIRED.2) I get some general freeze on random times, neither the mouse, keyboard or process move, I notice that if I unplug power it unfreze, and I can work for some time.This 2 problems annoy me a lot, and I suspect is a problem related to my Netbook Model, I read about someone that has the same problem but no solution there.
This is what I did:I Try Ubuntu loading from my USB memory (1GB), run very good but with the 2 problems, but I thought it can be resolved installing.I installed along side with W7, couldn't boot Ubuntu, so I configured GRUB2 and it could enter now, but if I don't press **** after selecting Ubuntu it give me the BusyBox, and then the same 2 problems.I get rid of my W7 and did a Full Install on my 160GB HDD, hoping it can work fine, but no.I install all updates and no effect on that.
I need a download manager software with scheduler and auto-shutdown ability for linux. I google it and found many of them, but all of theme can auto-shutdown after all download finished!I need something like Free Download Manager (FDM) in windows that schedules auto-shutdown at a specific time and date!Now I'm using cron. but I want the download manager do this for me.
View 3 Replies View RelatedHow to repartition a hard drive using Mepis 3.3, none of the listed sites will open to me. Is this the best software to repartition a new Windows 7 hard drive? I notice there are later versions of the Mepis software.
View 10 Replies View RelatedI have installed a cluster computer with 10 nodes . The manufacturer is HP . All nodes and the master node have redhat enterprise linux installed in them . When I shutdown the nodes from the master terminal using "shutdown -h now" they get shutdown . But they dont get completely turned off . This issue bothers me when the power supply is given , all nodes boot up simultaneously generating a huge heat .
Thing to note : When we shutdown our PC they get completely turned off . When the power supply is given , a press on the Power On button is required to boot the system. But , why does it not happpen in the case of cluster? Is there any other way of completely turning off the nodes from the master terminal ?
First I go to the following URL to download the latest version of VLC Player, which I greatly prefer to Totem or any other standard Linux video/audio player: http://www.fileguru.com/Movie-Player/download. After I click on the "Download" link, a new window appears which asks me if I want to 1) Open with Archive Manager (default) or 2) Save File. There is a drop down arrow next to the first choice which only gives "Other..." as the only other choice. Well, if I choose the first option, the download appears as an .exe file in the "Downloads" window.
A window with "Download Error" in its Title Bar appears with the following message in it: "/tmp/VLC_Player_Setup-3.exe could not be opened, because the associated helper application does not exist. Change the association in your preferences." I don't even know yet how to even open up an .exe file in Linux, despite repeated research.