Ubuntu :: Create A Script To Run Some Tasks?
Jan 6, 2011
I've been trying to create a script to run some tasks, for example: I have this script receita.sh, that needs the input of a time data to run. like: receita.sh <yyyymmdd> and I would like to get it running every 5 am with the computer time date..I have found the command date, that retrieves the system time date like:Thu Jan 6 17:39:39 WET 2011 Is there any way of getting the time date, and make it work in the script
View 3 Replies
ADVERTISEMENT
Feb 11, 2011
I Had used Windows but fed-up of his Crashes and Viruses, Therefor i decided to Check out Linux for the 1st time, so i installed Ubuntu and as time Passed, i just love it now..I had also used KDE Environment but a lot of bugs+Little slow KDE Compelled me to stuck with Gnome,And am fine with it......I seen a lot of more OS's which are for special purposes like Backtrack , Free-BSD , Fedora etc....But i don't know their Purpose , So the post Objective is to find their Purpose and Benefits....
First of all i want to know about Free-BSD OS benefit in certain Tasks... & Why would Someone use Fedora , Backtrack..?
Moreover, I am Home-User, but i am interested to know about these OS's benefits, Where they are used and why...? Is these OS's are not for Home-Users....?
View 9 Replies
View Related
Apr 14, 2011
Recently installed 10.10 netbook edition, and evolution is behaving strangely. Albeit I've never used it before, but having read the documentation and googled it a bit I'm still lost. I cannot create or manage task lists. It's as if their functionality has been completely cut out of ev calendar. When I try to go to File->New->Task List, the Task list option does not appear in the menu (not greyed out, nothing). Can't find the button that's supposed to be there either. I've also checked synaptic for evolution task packages, but no avail.
View 3 Replies
View Related
May 10, 2011
Well I'm totally frustrated. I have been trying to figure out how to use anacron (schedule tasks). I Googled,Binged,Yahooed, and manpaged.I cannot find how to, at least, start anacron. To use 'cron' I use crontab -e. What do i use to start anacron?.
View 2 Replies
View Related
Jun 9, 2011
I'm using Evolution in Gnome 3 and I'm having this rather annoying issue---whenever I make a new Task, it does NOT show up in the Tasks bar. Even if I try searching for it, the task doesn't show up (even making a new Task List doesn't show up), which makes me think it was never saved properly in the first place. I also tried seeing if there was any sort of error while running Evolution by opening it via the terminal, but I don't get anything. Does anyone else have this issue? Is this a known bug with Evolution
View 2 Replies
View Related
Jun 20, 2011
Yesterday, I found that the majority of my tasks on Evolution (2.28.3) had just disappeared. I last did a backup of my system 2 weeks ago but in that time important data has been added to my tasks lists on Evolution. I've read around and found that the problem may be fixed by rebuilding evolution-data-server (see here). However, if this means re-compiling evolution-data-server from the package manager, well, I don't seem to keen on doing that unless I can get confirmation of how to implement it, i.e. how do I rebuild evolution-data-server?
View 4 Replies
View Related
Jun 20, 2011
Tried to use Ubuntu 11.4 to assist in recovering a windows xp system. Ran from cd without installing. Failure. Could not find Windows hd. How do I list all storage media. Where is the Mac OS Finder/Windows explorer? Could not find Terminal. Ran search, but seems limited to just your user data. How do I do a search for the terminal applications. Did get some worthless display of all installed programs, but could not launch application. Is there a way of switching the old User Interface from the running from CD version?
View 2 Replies
View Related
Jun 27, 2011
i have made a search on this subject and i always find the cron to be the solution for me. But i am asking because i think what i want can be done differently. i have a command line to grab stream and save it. i want this command to be run at different time (hours) on specific days. i should use the "at", as far as i saw here on the forum. But are there other way to do it? can i have a simple script that i run the day of the event, before this occur?
View 1 Replies
View Related
Feb 10, 2010
I want a tool, which can record my actions on the gnome desktop and play it again. I must be able to edit the recorded script.
View 3 Replies
View Related
Mar 6, 2010
Ok so i have a IOn based PC that i use for only xbmc. I previously had a full ubuntu 9.11 install.
I had to reformat the drive but i could not get audio working. I gave the ION Optimized live CD a go and it worked with HDMI audio running perfectly. The thing is when i close xbmc i don't have a desktop, it just goes to command line.
I need to install lirc, copy some keymap files into my xbmc folder and then setup wireless. What would be the best way? Can it all be done through command line? Can i install a desktop environment?
View 7 Replies
View Related
Jul 13, 2010
I want to add two separate tasks/jobs to Cron that needs to run every 10 minutes, but I would like the second job to kick off only 5 minutes after the first job. Is there any way this could be done within Cron?
View 2 Replies
View Related
Aug 10, 2010
When I shut down my computer I want to show some pending tasks that I have to do before leaving the office... I did a local application to manage those tasks, so basically I just want to run a command, and shut down after I kill the app executed. I have already tried with these options:
* /etc/gdm/PostSession/Default --> this works only when I select LogOut option instead Shutdown.
* /etc/rc0.d/K01mycustomscript --> execute script after X is killed
* $HOME/.bash_logout --> This looks like does nothing.
* ./app-to-run && sudo shutdown -h now --> Don't like it for 2 reasons, prompts for sudo password, and can't use my laptop shutdown button.
How could I modify Shutdown dialog ? should I recompile Gnome ? Options? I am using Ubuntu 10.04
View 5 Replies
View Related
Jan 11, 2011
I'm running evolution 2.30.3 in ubuntu 10.10, with unity desktop, and I can't find the "purge" option for the tasks. As it disappeared or is it just me not finding it ? Also, while I'm here, I understand that unity is still in development. Where can I report the issues I notice while running it ?
View 3 Replies
View Related
Jul 14, 2011
Assume I`m a newbie and I want to run two CPU-consuming tasks but with different priorities - I mean one to get more CPU time that the other. How to achieve this in Fedora?
View 14 Replies
View Related
Mar 10, 2010
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 Related
May 26, 2010
for the past several months now, whenever the YUM-deamon goes to automatically update, it just says "waiting for other tasks" and after about 10 min it says "can't get yum lock, other program accessing yum" or something to that effect.i get the same message if i try to manually install programs using the graphical program in gNu.
is there another deamon that also could be using yum or the database for programs? i haven't had too much time to trouble shoot the past few months, so i can't give you better descriptions i'm afraid.
View 2 Replies
View Related
Apr 12, 2010
Can I open autocad files (.dwg) on ubuntu and do printing tasks?
View 1 Replies
View Related
May 23, 2010
I find myself using SSH from my mobile phone to manage administrative tasks when I'm away--completing updates and the like, things that can be done during normal usage but sap my RAM and CPU to the point of frustration, given the hardware I've got to work with. It's convenient, I can do what I wish (without the benefit of an X session) while I'm at work. The issue I run into is the fact that my auth.log is littered with items like this:
Code:
May 16 12:53:17 BETA sshd[18941]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=200.111.184.180
May 16 12:53:19 BETA sshd[18941]: Failed password for invalid user lala from 200.111.184.180 port 41787 ssh2
May 16 12:53:25 BETA sshd[18943]: Invalid user master from 200.111.184.180
Which tells me that some inconspicuous person and/or botnet keeps trying to get into my system. This is generally annoying; at this point, my system isn't used for anything particularly critical; however, the fact that only failures or questionable successes--such as those from my mobile, the IP and Host of which can vary a fair bit (and the host resolution almost always fails, based on the way the IP/Host advertisement is presented to an external host is established--it's essentially manufactured)--doesn't tell me who/what has figured it out. I've done what I can to tamp down SSH access to the system, root is blocked via SSH (a moot item, since root isn't allowed locally), I've limited only my own username as allowed to connect via SSH...all it would take, though, is an alphanumeric dictionary that hits the right combination to get a password prompt, and to be able to brute-force it from there.
Overall, I know there's few, if any ways, to prevent someone attempting to get into my system via SSH; what additional steps can I take to minimize the possibility that I might end up compromised?
View 1 Replies
View Related
Aug 11, 2010
I am running my PC and laptop on Ubuntu Lucid, and my netbook on Ubuntu Lucid Netbook Remix. I would like to synchronise my Evolution calendar and task list between the three machines. First step would be to get calendar and task content o my PC onto the other two machines. Is this possible (e.g. via Ubuntu one), and if so, how?
View 2 Replies
View Related
Nov 7, 2010
When I try to launch it from the System Tools sub folder, I see it appear for a second and then it disappears. What should I do? This is the code displayed when I try running it from the Terminal.
View 1 Replies
View Related
Apr 29, 2011
Basically what I wanted to know is, if we turn the computer off (or hibernate/standby) - what will cron do with the tasks that were suppose to be scheduled during that time period the moment u turn it back on? Reason I ask is because i have a backup scheduled for every single hour. And another one I want to schedule for every 15mins. If I turn my comp in standby overnite, I certainly don't want to turn it on in the morning to find cron doing like 30 back up jobs!
View 2 Replies
View Related
May 23, 2011
I am running a series of operations on executable matlab scripts which are connecting python and fortran scripts. I schedule the executables in cron. The problem:
- My original matlab scripts work perfectly.
- My executables work perfectly if I run them from the terminal. - Using the gui scheduled tasks and running the scripts once from a button, everything also works fine.
- But when I leave the scheduled tasks run on their own, I get an error! The error can be that the script hangs in general (I have some text logs exported every step to track the progress), or I get an error which never appears when I run the script with any of the other mentioned ways.
- I tried both cron command prompt or the GUI scheduled tasks
- I am running on Ubuntu 64 bit
View 3 Replies
View Related
Jun 22, 2011
The title says it all. Is there a way to just click ok to administrative tasks instead of having to enter my password every time? Sort of like Windows 7's UAC.I'm using ubuntu 10.04 LTS. I don't want to log in as root
View 9 Replies
View Related
Oct 3, 2010
Whenever I try to get KPackageKit to do anything, it says "Waiting for other tasks..." and just hangs. I can cancel (when there's a cancel button, but sometimes there's not) and yum runs just fine.Any advice on how to get this working? I hate hunting for the names of packages.
View 2 Replies
View Related
Dec 4, 2010
trying to learn how to do tasks via command structure as I want to become RHCSA in the future.problem: i am trying to copy from (Ubuntu) a driver folder from a CD to another partition so that I can access the internet on CentOS .( which is the OS on another partition on my HD)
View 4 Replies
View Related
Feb 10, 2011
I'd like to get the information about automatization of the tasks in Linux, more specifically in Fedora with minimal installation (without graphical interface and so on).The application (developed in C) needs to be started automatically when the computer is initialized. I've read about cron but I guess it's not a solution in this case because whenever computer starts the application must run once.I also have read about the/etc/ rc.local file but I made some tests changing it and they didn't work, the computer starts asking me the login and password but nothing run after that.The inittab was the same. In this way, someone know how to initialize an application developed in C when the computer starts?
View 6 Replies
View Related
Feb 2, 2011
I want to have an if statement that does multiple things:
Code:
if [....] ; then
1=...
2=...
[code]....
View 3 Replies
View Related
Feb 26, 2010
As in window we normally use task manager (ctrl+alt+del) to see how many tasks are currently runing in the window ..similarly please give me alternative of this linux . that is how to know how many sottwares are running in linux is there any terminal commands for this or shorcuts keys as window.
View 3 Replies
View Related
May 8, 2010
I am using a widescreen monitor and prefer placing the panel on the left size. However, when there are more than 8 windows open at the same time, the window icons seemingly randomly shrink in size and form two columns. Selecting the windows on the panel takes several clicks and during each click the panel switches between the one column and two column states.
View 4 Replies
View Related
Jun 29, 2010
If I have Dolphin up and running, I will activate a folder, hit Enter, and nothing happens unless my mouse is moving around the screen.I may have Chromium Browser or Firefox running with another app, and when I use Alt-Tab to switch tasks, the app selector window will not appear unless I'm moving the cursor. And once I have chosen the app to switch to, it will not actually make the switch unless the cursor is in motion across the screen.I am running Kubuntu 10.04, KDE 4.4.2
View 4 Replies
View Related