Ubuntu Servers :: Get Scheduled Task To Run A Bash Script?

Sep 10, 2010

I am trying to get Scheduled Task to run a bash script (which runs an rsync command) but it does not seem to be running. I can run the script from the command line with out a problem, but I have it scheduled in Scheduled Tasks to run once everyday and I can't find any evidence of it running or any indication why it does not run. is there a better GUI for scheduling tasks? I am running 10.04 server with xbuntu desktop

View 5 Replies


ADVERTISEMENT

Ubuntu :: Scheduled Copy Folder Task?

Jan 10, 2011

i was reading on how to do scheduled tasks, however i couldnt find anything that was a scheduled task to copy a whole folder to a NAS(Network Storage) thats linked on my ubuntu desktop every 4 hours or so.

View 1 Replies View Related

Ubuntu :: Want To Set Up A Scheduled Task To Take A Screen Shot?

Feb 13, 2011

I have my background as a satellite picture of the earth. Right now I have a scheduled task to grab that picture off the internet (the website updates it every three hours) so my background is a 'live' snapshot of the earth.

I want to set up a scheduled task to take a screen shot every three hours, so that I can see, for example, the way the earth changes over the course of a day...a week, etc. I already have the Scheduled Task Manager from Gnome, but would anyone know what command I could use to do this?

My biggest problem is figuring out how to change the name of the picture it saves it as every time. (e.g. earth1.jpg, earth2.jpg, earth3.jpg, etc.)

View 2 Replies View Related

CentOS 5 :: Scheduled Task That Executes A Shell Script?

Dec 17, 2009

I centos version 5 installed on server 2, and I want to make a scheduled task that executes a shell script.This script should copy some files and directories from one server to another. I do not use DRBD and Heartbeat.

View 1 Replies View Related

Ubuntu Servers :: Schedule A Task To Run On The 1st Saturday Of Every Month?

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

Ubuntu Installation :: Task Manager Or Task Bar, Keeps Changing Length?

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

OpenSUSE :: Tasks Overlap In Task Bar (system Tray / Task Manager)?

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

General :: Launching A Task From Cli And Divorcing It From Terminal Task?

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

General :: Evolution Task List Reminder (sync With Phone And Online Task List)

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

Ubuntu Multimedia :: Scheduled TV Recording ?

Apr 3, 2010

I use Kaffeine to record live TV to disk for later playback. I've been putting up with Kaffeine's little foibles for the last little while, but tonight (for the second night in a row) I accidentally closed it and consequently it didn't record anything.

Is there any software I can use to construct a recording schedule which will then not be dependent on me remembering to leave a particular app running? I don't really need this in MPEG4 or anything. The PC stays on 24x7 - I just need it to launch a recording at the correct time.

I've avoided MythTV in all it's incarnations because I want the computer to still function as a normal PC most of the time, and from my admittedly brief trial of MythTV it took over the PC and wouldn't let me open a web browser or a mail client.

View 5 Replies View Related

Ubuntu :: Can't See Results Of Job Scheduled With The 'at' Command

Oct 5, 2010

I scheduled a job, 'ls -a', with the at command, 3 minutes in the future. It looks like the job ran, but I cannot see the results of 'ls -a'. I accessed my mail with the 'mail' command and saw that the output of my scheduled job was message 1. I typed in '1' after the & prompt, and saw that the subject of the message was the output of my job, scheduled at the time specified with the 'at' command. I cannot see the output of the 'ls -a' command that I scheduled though. How do I see the contents of the message, and the actual output of the job.

View 1 Replies View Related

Ubuntu :: Run A Script With Scheduled Tasks?

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

Ubuntu :: Unable To Launch Scheduled Tasks Application

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

Ubuntu :: Status Of Cron Scheduled Tasks While Computer Off?

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

Ubuntu :: Cron Or Scheduled Tasks Not Working Properly

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

Slackware :: Scheduled Downtime For The Website?

May 5, 2010

Is [URL] down right now? It seems to be.

View 2 Replies View Related

Ubuntu :: Automated Scheduled Backup System Waking Up Computers

Mar 24, 2010

I am looking for an automated backup system and I like bacula. I have 3 Notebooks and a Desktop computer that need regular backup. Now I don't want to let them run all night just to do the backuping, so I was thinking I could use wake-on-lan to have bacula wake up the machines, then do the backups, and shut them down afterswards. While this may work with devices on the ethernet, it won't work with the Notebooks on the wifi. So is it possible to have the Notebooks schedules to automatically wake up from suspend or shutdown ? Or is it possible to interject a shutdown command if it is after a cerain hour and call the bacula director to start the backup now?

View 2 Replies View Related

Ubuntu Networking :: Autodial Pppoe Connection At Scheduled Time?

Jun 14, 2010

I've been trying to use gnome-schedule to create a scheduled task that would dial my pppoe connection automatically. For this I used "sudo pon" command (after configuring the pppoe connection using pppoeconf ). Although the command gets executed, but then it waits for me to enter the password. I want it to be automatic & shouldn't require me/anyone to authorize it. Is there a way to enter this password automatically for the scheduled tasks?

Also, I'd like to use network manager, instead of pppoeconf, for the same purpose. How can I set network manager to dial a pppoe connection at scheduled time?

View 1 Replies View Related

Ubuntu Security :: Exclude Folders From ClamAV Scheduled Scan?

Feb 22, 2011

I have network shares automounted in /media and I want to exclude them from my automatic scheduled ClamAV scan in Maverick. How do I do this? I can't find any CRON link or script that actually starts the scan. Is it the Daemon that does this?

View 1 Replies View Related

General :: Scheduled Cron Job Stpped Working

Aug 22, 2011

I run a Fedora 9 server at home, to host an "old school" MOO.To back up the database, I scheduled a cron job - and got some help with the script.I don't fiddle with stuff on the server much, because I don't really have a clue - leave well enough alone.But now I'm without backups. (I'd prefer to get this working, as it seemed pretty simple, and worked well for so long).

View 14 Replies View Related

General :: Scheduled Tasks / Cron Not Working Right?

May 23, 2011

Got a small problem, I'm trying to schedule a script to run every Thursday at midday and the scheduled tasks application on Ubuntu doesn't seem to work. The script is fine when I run it from a terminal.I have zero experience using cron at the command line, can anyone tell me what I should do?

View 2 Replies View Related

Server :: Webmin - Scheduled Cron Job (Password)

Jan 20, 2010

I have webmin on my linux server, I've made a cron job which requires a password to be entered after the command has been run.. all good. I noticed the cron job has the option "Input to command", where after many hours googling a can assume this is where you type input after the cron job has run (for example, a password?). I have tired putting the password needed for the job (the cron job is an ssh root@address) into this field however the output when running the cronjob is saying "permision denied" still.

Is there some sort of character I have to enter in this field, like
-p mypassword:
or
*mypassword?
or
"mypassword"

View 5 Replies View Related

Programming :: Scheduled Copy Based On Filename?

Jun 17, 2010

Since I'm not building a specific piece of software but a shell script, I hope this is in the right forum. At work, we use RHEL for the basic system but have Windows clients attached as well. On the Win side, there's a program that I'm trying to duplicate on the Linux side. Because of established procedures, I can't change the way files are named so please don't suggest I do that (my boss would not be happy). We have files stored on an NFS share we manipulate on either side.

The program is used to copy files from one directory to another, based on the filenames. The first two characters of the filename are ignored (they're for human-readable sorting purposes only), the next four characters are the time, and then all characters after that are ignored. The time is read and the file gets copied at that time. (This was all done in VC++ many years ago, and nobody knows where the source code is.) For example, a file named 2d0730abcd.txt would be copied from the source directory to the destination directory at 7:30am.

It seems to me that it should be fairly straightforward to build a shell script on the Linux side to do the same thing, but darned if I can figure out which magical combination of commands to use. Would the shell script end up creating a giant pile of AT commands?

View 10 Replies View Related

Slackware :: Scheduled Recording In Kaffeine Not Working?

Mar 16, 2010

my favourite media player is Kaffeine. One reason is, that no other application has better support for DVB-T including channel tuner. Version 1.0-pre2 from SBo works great, with one limitation, though: Scheduled recording doesn't work. When I open the programme guide and select a programme to be recorded, Kaffeine reports that the recording has been scheduled. Then, at the scheduled start time, a zero byte file with the name of the programme is created, but it remains empty forever. Instant recording, on the other hand, works just fine. I am on Slackware64-current with all updates up to now.

View 2 Replies View Related

Slackware :: Cron Jobs Scheduled To Run But PC Suspended?

Apr 7, 2011

By default, cron jobs are scheduled to run at 4:40 IIRC. I have my computer set to suspend after half an hour of inactivity so, except for some all-nighters, pretty much every day at that time my PC is suspended. What happens to the cron jobs? I don't suppose they run while the suspension is in effect. Do they get run when the computer wakes up or does cron wait until the next day at 4:40 to run the jobs?

View 5 Replies View Related

Ubuntu Servers :: New Users Don't Have Bash History?

Nov 23, 2010

installed Ubuntu Server Edition and I've found that my first user has a bash history and I can turn on a coloured prompt by editing my .bashrc etc but new users don't have that!I did : useradd -d /home/newb -m newbpasswd newband the correct looking .bashrc file appears to be in /home/newb but it is being ignore by bash when logged in as newb. Instead I am presented with just a dollar prompt instead of "newb@server"how can I sort out my users with proper prompts?

View 1 Replies View Related

Ubuntu :: Kmymoney Stuck On "checking For Overdue Scheduled Transactions / Fix It?

Feb 23, 2011

Kmymoney is freezing on start up with the above message. Processor running at 100%. Only way out is to kill the process.
I tried removing the programme and reloading via the software centre but no joy. If I re-name my date file to a different file type the programme loads normally but of course asks to start a new account.

It would seem that my data file is corrupted in some way?

View 1 Replies View Related

General :: Page 2 - Scheduled Cron Job Stepped Working

Sep 8, 2011

The back.sh script is being run as user basil, whcih means that when it comes to copying the backup file to the target location you do not have the correct permissions to access the contents of the directory (it is rwx by root only).So, what do we do? Hoping it is ONLY the directory permissions which are fouling things up we have a range of options which, in not particular order of 'good', include:

a) change ownership/permission on target directory.
b) have the back.sh script run by the root user
c) set up sudo to permit the file copy to be done by root
d) use setuid on the back.sh to have it run, effectively, as root

A lot of the answer will depend upon what else the Dropbox directory is for. If it's JUST for your backups for this then I'd be inclined to:

Code:

chown basil /root/Dropbox
chmod g+rwx /root/Dropbox

which will permit the basil user full access and thus allow the file operations being done and give root access via the group permissions (not that the root user really needs this).Also, I'd be inclined to:

Code:

chown basil /home/xxxx/moo3/bin/back.sh
chmod u=rwx,g=rx,o= /home/xxxx/moo3/bin/back.sh

which will make things 'look' better, it just reinforces the point that the script is run (and owned) by the basil user.

View 3 Replies View Related

Applications :: Correct Syntax For Scheduled Cron Jobs

May 25, 2010

I need to create the following cron jobs:

job #1: runs Mon, Tue, Wed, Thu, Fri, Sun at 9PM every month except for 15th
job#2: runs on 15th of each month at 9PM
job #3: runs every Saturday at 6PM every month

What is the correct syntax for this kind of scheduled cron jobs?

View 7 Replies View Related

General :: Does Scheduled Reboot Of Server Improve Performance?

Nov 12, 2009

I just want to know if a linux server got rebooted after a scheduled time(2/3 month), whether the performance improves. If improves why.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved