Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
82 views

Which tasks in “Scheduled Tasks” (gnome-schedule) use anacron versus cron?

I am trying to run a command once a day, but my machine is not always on. anacron says it's meant for such purposes, but I prefer to use the Gnome Scheduled Tasks GUI program. If I schedule a task to ...
1
vote
1answer
54 views

Understanding the at-command to schedule another command

I use cron to schedule things in Linux, but recently I discovered the "at" command. sudo apt-get install at I don't understand the scope from which this command operates: How would you schedule a ...
0
votes
0answers
216 views

why 'Scheduled Tasks' (gnome-schedule) window doesn't show?

Scheduled tasks on Ubuntu 14.04 trusty: Scheduled task (gnome-schedule) was running fine until I tried to add some root tasks. After that the application window doesnt open anymore for a user. ...
0
votes
1answer
124 views

How is logging of automatic/schedules scans enabled for clam AV?

In this thread it is discussed how to log a scan by ClamAV. However, the suggestions are only for logging one-off scans triggered from command line. My situation is that I'm working in a setting ...
7
votes
2answers
2k views

check-new-release process eating up resources on Ubuntu server 13.04

A small Ubuntu 13.04 virtual machine instance I run in a cloud environment regularly becomes slow/unresponsive because of a proces called check-new-release. Is there any way to disable this process ...
1
vote
0answers
72 views

Backup regimen - is this plan any good?

I have a desktop that has some valuable personal and financial records, photos, etc. I installed a second drive formatted ext3 called 'internalbackup'. I've been using a variety of backup programs, ...
1
vote
1answer
172 views

scheduled tasks running but have disappeared

I had recently installed gnome-schedule 2.1.1-4 onto my ubuntu 12.10 so that i may be able to schedule a recurrent shutdown on my laptop everyday at 1:55 pm. After a few days when i didn't need the ...
10
votes
2answers
1k views

How can I run anacron in user mode?

I would like to set up a scheduled task via anacron but I would like to do so in user mode. How can I achieve this?
3
votes
3answers
183 views

How to run a command within a time duration per min/sec?

I want to run a command/shell script say script.sh from 1AM to 2AM per minute. After observing that crontab can't work it out 'per sec' I had to go with 'per min'. Basically, My server.sh file takes ...
0
votes
1answer
710 views

Crontab run script

For example I want to schedule task using crontab: */2 * * * * /root/scripts/backup.sh But nothing happens, backup.sh is not executed. Who can help me?
0
votes
1answer
364 views

How to start and stop a task using at command?

I want to start download using aria2c everyday at 02:00 am and stop it at 08:00 am. I know I should use at 02:00 at>aria2c .... I don't know how to tell 'at' to stop it! Actually aria2c stops ...
2
votes
2answers
250 views

crontab not working as expected

I'm using ubuntu 12.04 and I want to execute a script every 5 hours . I setup cron with crontab -e and putted * */5 * * * sh /home/cron_script.sh The script is executed every minute. Thanks.
1
vote
1answer
1k views

Why does Ubuntu Server run both cron and atd?

From the man pages it appears both do basically the same thing, why have both running on the system at the same time? From the wording in the man pages it looks like cron will repeatedly run programs ...
0
votes
4answers
1k views

How to start a program at a scheduled time if I am logged in?

I want the following behaviour: if I am logged in, and it is a certain time, and the program isn't already started, start the program. How can I achieve this?
1
vote
0answers
578 views

Is wake up from standby possible via script or schedule? [duplicate]

Is it possible to cause Ubuntu to resume from standby or sleep mode to run a scheduled task like at job/crontab? (hibernation seems to be ruled out in another question) Can a script be written that: ...
0
votes
1answer
225 views

Trigger script execution on after apt-get upgrade for a certain package?

Question: I have customized an application startup script. Unfortunately, it gets overwritten every time I do apt-get dist-upgrade when there is an update available (quite often). Now I have ...
1
vote
1answer
56 views

at job facility for anacron?

Is there a tool for Ubuntu to schedule jobs similar to at but for anacron instead if plain cron? Eg. echo "rm -Rf /tmp/workdata.$$.*" | at now + 99 minutes It doesn't have to be via anacron, just ...
1
vote
3answers
1k views

Need to skip lost+found when using find

I am new to Ubuntu and I do not have alot of experience with Linux/Unix, so please bear with me while I try to get through this. I have a camera system that records footage and takes screen shots and ...
3
votes
1answer
243 views

How to use clock to run program on time?

For example: I want to set when 6:00 am it plays 1.mp3 (if 2.mp3 is playing then close 2.mp3). When 18:00 it plays 2.mp3 to replace 1.mp3 (replace means close 1.mp3 and play 2.mp3). Everyday was ...
1
vote
3answers
622 views

How to queue commands

Suppose I have jobs to run one after another, how can I queue them up and if possible still retain the output/log each script produces. (eg. I can use at to schedule tasks but I dont get the ...
3
votes
3answers
893 views

How do I make schelduled snapshots of an authenticated webpage?

How can I, as an Ubuntu beginner, get a daily snapshot of a webpage? The page requires a log in and then displays a bunch of numbers that I'm interested in. Can I write a script to take care of ...
1
vote
1answer
54 views

How to find out status of a job (scheduled with at)

How can I find out the status of a job scheduled with at?
2
votes
1answer
2k views

Why would logwatch (with cron) on stop e-mailing me daily reports?

I have logwatch configured with cron to e-mail me a daily report from my ubuntu server. Occasionally, something happens like the power goes out (which is what just happened actually) or the system ...
2
votes
2answers
341 views

Is it possible to schedule the downloads required to upgrade?

I'd like to upgrade from 10.10 to 11.04 but my ISP has a data-cap, limiting the amount I can download. Thankfully, traffic between 2am and 8am doesn't count towards this cap, but I'm seldom awake at ...
0
votes
1answer
1k views

How to take daily backup of database?

Hey I am using mysql in ubuntu along with 15 more ppl who also has root privilege. I am afraid they might accidentally tamper with the database, so I want to take a daily and hourly incremental ...
0
votes
1answer
510 views

Wget schedule sending mail if response time > 5 secs

I'm using a script called Responser which sends email when any of the my sites are down/slow. I just wanted to check if it's sending the mail only if the sites are really down or slow(as I checked it ...
0
votes
2answers
911 views

How to automatically visit a website in the background after Ubuntu booted?

I wanted to know how to automatically visit a website in the background when Ubuntu loads. As far as I know w3m is for visiting web site from the console. That is why I am writing following command in ...
1
vote
2answers
449 views

Does gnome-schedule run things on startup if the run time is missed?

I have a script that I would like to run daily. I set it up in gnome-schedule to run every day at 00:00, and I'm wondering whether it will run on startup if my computer was not turned on at 00:00. If ...
2
votes
2answers
545 views

How can I schedule execution of a program?

Let's say I have a small "Hello World" Java program compiled in my home directory. I can run it with java helloWorld from my home directory and it executes without any problem. Now I need to ...
4
votes
3answers
2k views

How can I make a command run once the next time I log in?

How can I schedule a command to run the next time I log in? I don't want it to run every time, just once.
14
votes
3answers
32k views

How can I schedule a nightly reboot?

I'm having some periodic issues running a particular application, XBMC. If I use XBMC regularly I don't seem to have any issues but if I leave it unattended for more than about 12 hours I need to ...
5
votes
3answers
3k views

How do I set up an mp3 alarm clock?

I want to switch from Windows XP to Ubuntu and there is one thing that I'm heavily using in XP—an MP3 alarm clock. In the evening I turn the PC to hibernated mode. In the morning it wakes up ...
9
votes
3answers
5k views

How do I schedule waking up from hibernation?

Is it possible to wake up Ubuntu from hibernation at a predefined time? It should not be WOL, but rather Ubuntu waking itself up. For example, it should do what the app WakeupOnStandBy does on MS ...
2
votes
1answer
614 views

How to Schedule a Ruby Script

I have a ruby script I'd like to execute every 5 minutes or so. I have seen mention of cron tasks, but not in the context of executing Ruby. I would like to know the steps necessary to execute the ...