General :: How To Schedule For A Repeated Task
May 2, 2010
I need to schedule for a repeated task on my Linux, as the followings:
-) Telnet to a remote node
-) Issue a command
-) Capture the output in a log
-) Logout from Telnet
-) Wait for a prescribed time interval
-) Then redo , but append the subsequent output in just on file
know which options do we have to write such a task?
View 7 Replies
ADVERTISEMENT
Aug 10, 2011
Is there a way to schedule a task to run on the 1st Saturday of every month? I'm not sure if what I have here will run. I am running Ubuntu 10.04 Server x64
What I have right now is:
# m h dom mon dow command
00 00 1 * Sat /storage/scripts/monthly-script.sh
This looks to me that it will only run at midnight if a Saturday is the first of the month. But if that's the case then that's not quite what I'm looking for...
View 2 Replies
View Related
Oct 1, 2010
I am attempting to schedule a task to run every hour. I have altered the crontabs for my account but the the task still won't run on the hour.
View 1 Replies
View Related
Feb 10, 2011
How do you launch a task from a terminal command line interface and it not be kill'ed if you close the terminal window. Like if I run jedit I type jedit & which launches jedit as a backgorund task. But, if I close terminal window, jedit dies to. How do I laucnch jedit and completely divorce it from the terminal task?
View 6 Replies
View Related
May 19, 2011
I have my task list in evolution (mainly so it can sync with my phone and online task list) but I always forget to look at the task list. Is there an application or plugin which periodically displays the contents of the tasklist or even better, it briefly displays the most urgent/important tasks when I login? Or anything else which automatically displays the most important tasks. Currently I have to open the task list and look at them (which I usually forget). I do not mean some kind of alarm when the task is due but more a daily reminder of what to do.
View 3 Replies
View Related
Feb 5, 2011
this seems like it should be a simple thing, but I can't find it. Is there a bash shell command that allows you to create a string of repeated characters? Like a string of 100 '*'?
View 6 Replies
View Related
Jan 20, 2011
I have an output file that looks like this:
Quote:
Now if you see the first line:
Status for ACCOUNT_MISSING_FRM_RCIS_LINK- mismatch
Status for ACCOUNT_MISSING_FRM_RCIS_LINK is ACCOUNT_MISSING_FRM_RCIS_LINK- does not exist in DB
This should appear just once as :
Quote:
The same goes for last line.
For further information the ACCOUNT_MISSING_FRM_RCIS_LINK is a table name and it row count is taken from a log and then Database checked for the rowcount to see if it is a match,mismatch,or the table does not exist!
I am getting the desird output just that i need to do something to this output file.
View 13 Replies
View Related
Feb 9, 2011
I have a mvfs file system mounted.
[code]...
View 1 Replies
View Related
Jun 26, 2011
Anybody knows how to fix overlapping tasks in KDE system taskbar?Here System Monitor overlaps with digiKamWorkaround to rearrange icons - start any new task.Sorry for taking real photo of the screen. When I do PrintScreen KSnapShot task appears in the list and makes all task to rearrange. The resulting screenshot contains already fixed view.
View 5 Replies
View Related
Mar 17, 2010
I just installed Debian onto a PowerPC G4 Tower with two hard drives. I left OS X on one of the drives and reformatted and installed Debian on the other, using the installer from the 60Mb ISO from the Debian website.
The installation had no issues and it starts yaboot and Debian no problem.
After about 2 minutes of the booting up process, it starts to output this, every five seconds:
While this happens, other things still continue load and it outputs occasional messages and even gets to "Debian Login:" where if you type really quickly and hit enter, it takes it and prompts for "Password:" right after the next round of the above messages.
I have not been able to completely log in yet.
I can start up into the shell as root with "Linux single" with no problems.
I think this might have something to do with the second Mac OS Formatted Hard drive. I have considered unplugging that drive and testing it that way, but I am looking for a solution to turn off whatever script is running that every five seconds and failing, regardless of what it is trying to do.
View 9 Replies
View Related
May 29, 2011
After upgrading from 10.10 to 11.04 all of a sudden, the task manager or task bar, keeps changing length. The individual window "buttons" themselves keep changing size - flashing even, and the space between them also changes. It is driving me nuts! The little system tray(?) icons no longer appear in the system tray, but all stacked on top of each other in the top left corner.
View 1 Replies
View Related
Apr 14, 2010
I am setting crontab to run a script every minute irrespective of the current hour's value:
Code:
[root@localhost bin]# ls
sec.php showTime.sh
[root@localhost bin]# crontab -l
1 * * * * /root/bin/showTime.sh
[root@localhost bin]#
But it is not working. Does the line mean: "Run this script every day at hour:01"?
View 16 Replies
View Related
Nov 2, 2010
my problem is that an application which I want to start at the startup is creating some problems if it is started at the startup. But if it is started after a few seconds or say a minute of the startup, it doesn't cause any trouble.
View 9 Replies
View Related
Dec 7, 2010
Is it possible to schedule a process in the foreground? Lets say a cron schedule to be ran at 9:00. I would like to come back at 9:30, see how the process is running, and being able to interact with it... lets say kill it, or whatever. Is it possible? (Its not necessary to use cron, but it must be in Command Line)
View 6 Replies
View Related
Sep 13, 2010
I just want to know the distribution which is supported for longer time ex: Ubuntu will be supported for 18 months fedora for 14months. I repeat,I want a distribution which is stable,which I can leave without upgrading to next version for atleast 2 or 3 years. tell me other than Ubuntu LTS version
View 5 Replies
View Related
Aug 12, 2010
How to schedule a job using cron that shouldn't run between working hrs 9am-5pm, while run in non working hrs every hour, every day of the month, month & week.I tried the following way, not sure I can use logical not operator(!).
View 3 Replies
View Related
May 13, 2010
i want to use the command at to execute a script on a specific time FOR EXAMPLE :at 12:30pm but the script does not have to ececute at all, I DIT IT BUT THE SCRIPT EXECUTES EACH 12:30pm (that'sy problem) i want to write a script that will execute each two months from a specific time . for example: from january 12, 2010 the script has to run before march 12,2010
View 5 Replies
View Related
Mar 2, 2010
i want a service to be start at 8:00 and be ended in 14:00 automatically i already do this manualy by:
/etc/init.d/myservice.sh start
/etc/init.d/myservice.sh stop
i think it should be related to cron jobs.
View 1 Replies
View Related
Jun 24, 2010
Schedule disk scan on boot Ubuntu. How do I do this?
View 1 Replies
View Related
Jan 11, 2011
In a office network, how to queue incoming downloads and later, it will be scheduled by priority? Is there any such open source project /tool available? I have heard about squid proxy, but does it allow re scheduling ?
View 1 Replies
View Related
Sep 20, 2010
I did a search and came up with many different opinions and suggestions, and I could not find any similar threads for this (if there is I must apoligize in advance and did not look hard enough). I am trying to create a backup schedule for client computers and servers; and I would like your opinion on what I came up with. Here is network infrastrusture setup:
16 client computers
6 serevrs
- Primary and Secondary Web Server (RAID 1)
- Primary and Secondary Domain Controller (RAID 1)
- File/Print Server (RAID 5)
- Backup Server (RAID 1) with USB 2.0 1TB External Drive
Of course I will evetually upgrade to Tape Drives, but I am saving up for that. Anyways I want to backup ALL client computers, Primary Web and DC server, and File/Print Server. This will be done (of course) on the Backup Server) Here is the schedule:
[Code]..
View 2 Replies
View Related
Jun 20, 2011
I have a problem need help, I want to do a schedule with using shell script with crontab in linux SuSE SLES 10.
1. I have many server that want to do backup mysql all from that server everyday. I need advice for for write shell script to backup all mysql in different server to server backup everyday and create auto folder as date example 27102009, 28102009..........for a month will has 30 folder in server backup.
2. Also need to write shell script to delete all folder but keep only one week last example from 1 to 30 it will has 30 folder in sever backup but i want to keep only 7 folder last and want to set schedule delete it every saturday night.
3. used that shell script with crontab in linux.
View 3 Replies
View Related
Sep 23, 2010
Ubuntu is repeatedly crashing on me. It seems to be Xorg crashing, but apport only reports that various apps are crashing.The screen will go blank with a blinking dash cursor in the upper left. Then a dialog box will popup and say that xorg is running in low resolution mode. I can click ok and everything comes back up fine, but any running apps are gone.
View 1 Replies
View Related
Jul 29, 2010
For a certain task, everytime I have to open 10 bash terminals and write different commands on them. Any way to automate this? I am running Fedora linux.
View 2 Replies
View Related
Sep 24, 2009
I just wanted to get this out:
I have had this problem (entering the correct password and having Fedora repeatedly ask me for the password again) for a long time (since FC9) and have recently found what I believe to be a solution.
I know, you'll probably think it's extremely simple, but I just wanted to help any newbies to Fedora who might have the same problem as me.
Solution:
Right click on the Network Manager icon, and select "Edit Connections"
Go to the Wireless tab, and delete the entry for your wireless!Then manually re enter all of the settings.
This worked for me with a WPA2 TKIP connection, but it might work with a WPA2 AES also.
View 3 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
May 17, 2010
I am using ubuntu 8.10 server for running my sugar crm. because of some reason I can see multiple instances of apache2 running when I issue top command. can I further know about the problem that is occuring.
I know this is more of sugarcrm or php or apache problem but I would like to track the problem.
View 3 Replies
View Related
Mar 25, 2011
I noticed with the recent version of Ubuntu, 10.10 that the drop down menus, when selected the sub menus doi not appear straight away. I have to repeatedly go up and down the menu until they appear. They often open a blank box and sometime once selected leave the menu on the screen. This happens on all my machines.
View 4 Replies
View Related
Sep 1, 2011
U1 is trying to sync a file which doesn't exist on any of the devices attached to the account nor in the cloud folder. I've tried using U1sdtool to stop it, including the following commands:
I've also tried actually creating a file of the same name that it keeps trying to sync in the hopes that it will latch onto that one instead, but no go. I tried deleting that file, but no go. It constantly loops through the same nonexistent file, over and over and over and over and over...
It also only does this on one device. It does not do that on the other devices.
And, yes, I've done u1sdtool --waiting, and there is the nonexistent file, on the list, with all of the real files that actually do need to be synced backed up behind it.
View 5 Replies
View Related
Sep 23, 2010
after having some boot issues not so long ago, i was pointed in the direction of rescatux, which solved my problem at the time. now im having a number of other issues. i am dual booting isodora mint and lucid ubuntu.when my lucid distro is working, it often becomes totally unresponsive during everyday tasks and when i go to restart (or any of the other options) from the shut down menu, i get the window appearing blank.upon rebooting (by pressing ENTER, which works even though there are no buttons within the window), it tells me to either insert boot media or there is a grub failure. this happens almost every session on the computer.
on the times when it says 'insert boot media', generally speaking turning it off for an extended period tends to work. the times when a grub failure occurs, going through rescatux's rescap leads to no other partitions being identified at least 90% of the time.is this something that anyone recognizes the signs for and can offer me a solution? or does this sound like an intermittent hardware problem?
View 9 Replies
View Related