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


ADVERTISEMENT

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

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

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 :: 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

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 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

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 :: 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

Networking :: Which Tool To Track Scheduled Download Quota

Jul 24, 2010

My ISP has implemented a download quota between the "peak" hours of 8am and midnight. It is restricted to 100GB over a rolling 30days. I would like to track peak and off peak if possible, but only peak is really necessary.

Prior to the limits in certain hours I was using VnStat with a couple of home made scripts to log usage and calculate the rolling 30 days total. I don't really know how to tackle changing it to log only limited hours and am fairly certain my scripting skills just aren't up to it.

Is there another tool that can do what I need, I would very much prefer a console based solution. If it is console and only handles peak and off peak then I can try and script for the 30days again.Or has anyone managed to script something like this parsing from VnStat already ?

View 4 Replies View Related

General :: How To Make Scheduled Backup Of Repository And Recover It

Aug 6, 2011

I need to make a scheduled backup of repository of subversion in ubuntu. E.g., backup the repository at 13.00 pm every Monday. May I need to write some hook scripts to do that? And I also have to recover the backup of repository. If possible, I want to backup the trunk of repository
my repository is project1
/project1
/trunk
/tags
/branches

View 6 Replies View Related

General :: Script(urls.sh) Scheduled To Run With Crontab At Every Hour?

Jan 26, 2011

I have a script(urls.sh) scheduled to run with Crontab at every hour. The script is all good and executes manually with [root@server cron.hourly]# ./urls.sh But the scrip is not executing according to schedule. This is what I see in /var/log/cron every hour:crond[4729]: (root) CMD (run-parts /etc/cron.hourly/urls.sh)My crontab look likes this:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root

[code]....

View 2 Replies View Related

Server :: Squid Automatic/scheduled Cache Clear?

Nov 9, 2009

is there any way to scheduled cache clear auomatically instead of manual in squid.

View 1 Replies View Related

Software :: Finding GUI Audio Recorder That Does Scheduled Recordings?

Sep 16, 2010

I am a Mac user who has been using Audio Hijack Pro for years to do my scheduled radio recordings. I have a radio hooked up to my Mac that I record shows from. I am looking for a similar GUI solution in Linux and so far have come up empty. I would think that there would be something out there that I can use and hopefully someone on this forum can shed some light on this for me. I am seriously thinking of switching over to Ubuntu full time and this is the only thing that is preventing me to do so. Too bad because I hear so many good things about Linux, and so far I really like it.

View 1 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 :: 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 View Related







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