Questions tagged [schedule]

The schedule tag should be used for questions about scheduling events, like running applications or processes on a planned time.

Filter by
Sorted by
Tagged with
1
vote
1answer
3k 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
283 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.
0
votes
1answer
1k views

Scheduled backups: Local & FTP

please forgive if this has been asked/answered before, but I am an Ubuntu noob. I need to perform 2 types of backups automatically on a weekly schedule: From one local drive to another From a remote ...
2
votes
1answer
4k 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
3k 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
600 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: ...
1
vote
1answer
463 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 ...
22
votes
4answers
37k views

Suspend and wake PC at certain time

I want my PC to sleep at 04:58 and wake at 05:15, every day. How do I do that?
1
vote
1answer
65 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 ...
2
votes
3answers
4k 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 ...
28
votes
7answers
60k views

Scheduling StartUp and ShutDown

I use Torrents often, so I need to know how to make my computer start up and shut down automatically, Wi-Fi is switched on at six in the morning in my hotel and switched off at two AM. (I am able to ...
3
votes
1answer
276 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 ...
17
votes
2answers
11k views

Scheduling a reboot on a remotely located Ubuntu server

I work on a ubuntu server located in a place where I don't usually go. I use ssh over openvpn to access it. The machine has multiple wired interfaces, many static routes and multiple default gateways ...
4
votes
3answers
6k 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 log/...
11
votes
2answers
23k views

How to run a program with SCHED_RR policy from command line?

By default programs run with Time Sharing (TS policy) on Linux. How to run a program with SCHED_RR policy on Linux from command line? Thanks for giving information about chrt(1) command. I have used ...
3
votes
3answers
2k views

How do I make scheduled 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 this?...
1
vote
1answer
84 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?
6
votes
1answer
203 views

Is there a public calendar for key Ubuntu events?

I've been looking at the schedule for Ubuntu Developer Week (11th to 15th of July), and started entering the schedule into my Google calendar (XML, iCal, HTML). At this point, I thought to myself... ...
2
votes
1answer
4k 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
496 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
2k 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 ...
1
vote
1answer
577 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
1k 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
3answers
842 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
1k 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
4k 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.
80
votes
4answers
254k 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
4k 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 (...
13
votes
3answers
9k 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 ...
4
votes
1answer
2k 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 ...