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


ADVERTISEMENT

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

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

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

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

Ubuntu :: Add Two Separate Tasks/jobs To Cron?

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

General :: Send Email About Status Of Cron Job Completion

Jun 29, 2011

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

Ubuntu :: Sudo Cron - Error (grandchild #1234 Failed With Exit Status 126?

Aug 2, 2011

I have a desktop environment with Apache2.(If someone asks why desktop to run Apache2, its because the desktop must display a local website)When I update the html files from a windows box it is being copied in a home/user folder.Cron now has to copy the files with r to the localhost area.sudo cp -R home/myself/Downloads/* /var/www/ works fine:The script containing just that one line is in a file in my /home/myself/Documents folder named: copy_site_localhost.Cron entry in turn was created with the command: sudo crontab -e and the entry is:*/10 * * * * /home/myself/Documents/copy_site_localhostThe error in the syslog file in /var/logs is as follows:

.......CRON[1234] (root) CMD (home/myself/Documents?copy_site_localhost)
.......CRON[1236] error (grandchild #1234 failed with exit status126)
.......CRON{1236] info (No MTA installed, disregarding output)

[code]....

View 1 Replies View Related

Ubuntu Installation :: Automate Shut Down Computer After Cron-apt Job Finished?

Jul 9, 2010

Hopefully a simple question but one I have had a hard time finding:I am using cron-apt to automate updates as follows:

Code:
graham@graham-desktop:~$ sudo cat /etc/cron.d/cron-apt
#

[code]....

View 3 Replies View Related

Ubuntu :: Computer Wont Load Up - 'gdm Main Process (550) Terminated With Status 1'

Feb 20, 2010

this is my problem with ubuntu... i updated it with some auto updates and now my computer wont load up... it goes to a screen and says

starting up
usplash: setting mode 1152x864 failed
usplash: using mode 1024x768
init: gdm main process (550) terminated with status 1

but my dad has messed with it and theres a different number in the brackets instead of (550)... what can i do?

View 2 Replies View Related

Ubuntu :: Twitter Status / Update Pidgin Status In Lucid

Jul 5, 2010

I have just upgraded to Lucid on Ubuntu. I am a long time Pidgin user. I tried using Empathy with Gwibber, but I can't get Gwibber to update my IM status(es) in Empathy, so I want to go back to using Pidgin. (Additionally, I can't get Skype to work with Empathy.)I installed pidgin-microblog and pidgin-mbpurple, and they allow me to view my Twitter feed in Pidgin and update my Twitter status in Pidgin. However, in Karmic, I was also able to specify certain "status availabilities" (one named "Twitter-Available" and one named "Twitter-Away", for instance) to have the IM status message for these statuses become populated with my Twitter feed. This capability seems missing in pidgin-mbpurple in Lucid (and it seems to be the only thing missing from Karmic).

Is there a way to have pidgin-mbpurple update certain "status availabilities" in Lucid (and I'm just missing something) or is this no longer possible?Equivalently, is it possible to have Gwibber update my status message in Empathy? (I just want to be able to update my status once on one of my three computers - and have it propagate to all my other accounts (IM and social networking) and computers).

View 1 Replies View Related

Ubuntu Servers :: Cron Sending Email From Address / Change The Default Domain Name For Cron?

Apr 29, 2011

Can anyone tell me how i change the default domain name for cron?everything i cron runs it emails from and to user@com.com

this leaves me with a massive list of failed mails in postfix.i have mailto on my main crontab but i cant do it on all of them.

View 1 Replies View Related

Ubuntu Installation :: Cron's /etc/cron.daily/apt Not Upgrading?

Feb 25, 2010

It seems that cron is not upgrading my Ubuntu 8.04 LTS Server, no GUI installed. I changed /etc/crontab and watched apt running:

Code:

ps -A | grep apt

showed it for a long time,

Code:

sudo tcpdump tcp

showed communication with canonical sites,

but:

Code:

top

did not show any apt using CPU

[code].....

View 2 Replies View Related

Ubuntu :: Do Cron Updates Erase Cron Entries

Sep 19, 2010

I put in my cron entries to run my backup script which rsyncs my data to my 2nd drive, however on a hunch I checked my backup drive which mounts automatically via fstab and I realize it had not ran in a while. I checked cron and there were no entries for it. I got to wondering if I should ever be worried about a cron update coming down and over-writing my existing cron file with the backup entries in it to run.

View 2 Replies View Related

Fedora :: No Output From Cron Jobs In /etc/cron.daily

Jan 29, 2011

I have added some executable scripts to /etc/cron.daily but don't get the stdout/stderr output from them as mail (or anywhere else I have found). At least one of them is running (because I can see that it has added a file to the disk).

The peculiar thing is that I do get the output from /etc/cron.daily/0logwatch (part of the logwatch package) as an email each day.

The MAILTO line in /etc/crontab is "MAILTO=root" (unchanged from default). Same for /etc/anacrontab.

I do have an alias at the end of /etc/aliases which redirects root's mail to my own account, but this alias works fine for mail I send manually. (It also appears to work fine for the output from the file /etc/cron.daily/0logwatch.)

View 3 Replies View Related

CentOS 5 :: Setup A Cron In /var/spool/cron/root

Feb 16, 2010

I have set up a cron in /var/spool/cron/root

*/15 * * * * /usr/bin/phplist.sh

I can see in /var/log/cron that it is running every 15 minutes but it has no effect. It is not doing the commands in the bash script.

If I run /usr/bin/phplist.sh right in the shell it works great.

View 3 Replies View Related

Ubuntu :: Remove Gwibber Status Indicator / Gwibber Status In The Panel While Keeping The Shutdown Button?

Mar 16, 2011

After a fresh installation of Ubuntu 10.10 I uninstalled empathy (im using skype). The empathy menu in the evolution indicator was gone after that.I also uninstalled gwibber. But the gwibber status indicator remains within the about-me panel... Uninstalling the gwibber package also removes the me-menu which I want to keep actually. Especially the shutdown/restart... part of it. See attachment.I know there is a shutdown panel-app...but its butt-ugly and it doesnt allow to logon/off.

In another thread I read that the gwibber status shouldnt be there if no account for it is configured... which it is not... I do use ubuntu-one though which is in the same menu... I saw that this issue was addressed at some bug report before, but not fixed yet...

Does anybody know a good workaround to get rid of the gwibber status in the panel while keeping the about me and the shutdown button?

View 3 Replies View Related

Software :: Vixie-Cron Not Running /etc/cron.d/

Feb 9, 2011

Is my vixie-cron broken? i have "0-59 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" but it is not running in /etc/cron.d.

Code:

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







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