1
vote
4answers
109 views

Checking for changes to cronjobs

Any way check and notify if some one made a change/addition to cronjobs for a particular user on a Linux server? Is it possible to know the changes made too?
1
vote
2answers
348 views

How to schedule job to run on Linux/Unix only when system is idle?

How do I schedule a job to run only if the system is idle? E.g. I want to run some cleanup task every week, but only if it does not interfere with other users. I know I can schedule a task to run ...
1
vote
2answers
70 views

Cron job to run mutiple distinct times

I want a cronjob to run at 10:20 and 12:45. Is it possible to set it in one line using cron ? I know I can add to two similar lines one for 10:20 and another for 12:45.
2
votes
1answer
170 views

Using cron and a script, how can I get something to be triggered, for example, at 10am, 11 days before the last Tuesday of every month?

I'd like to schedule a task to be run a number of seconds, minutes, hours, days or weeks before a specified day of a week in a particular month. Examples would be: at 8am, 7 days before the last ...
2
votes
4answers
271 views

crontab schedules and cron jobs

I've put two files in the /etc/cron.d/ directory: The first makes a new post everyday at 12:00AM: 0 0 * * * php /var/www/site1/helper post:make The second updates the latest post every 10 minutes ...
3
votes
3answers
4k views

Synology cron job not working

I am not sure where to ask this question but I'll ask here first. I've got a Synology DS211 server and I am trying to run cron jobs but it is not working. This is the code I got in the crontab file ...
2
votes
1answer
827 views

Nagios Host Downtime Scheduling

Ok, so I've spent a bunch of time on this and I can not seem to get it working in my environment. I have a Nagios 3.3.1 server with NConf 1.3. All works well and I'm pretty happy. However, I have a ...
7
votes
3answers
3k views

Is it bad to edit cron file manually?

It is usually instructed to introduce new cron jobs through command lines; but I found it easier (with a better control of current cron tasks) to manually edit (in text editor) the user cron file like ...
0
votes
1answer
299 views

Alternative options for scheduled job queue?

I really like using queues for interprocess communication. It's great to be able to spin up a ton of workers and be guaranteed that a job in the queue is only run once, is treated fairly, can be ...
12
votes
6answers
7k views

Linux: Schedule command to run once after reboot (RunOnce equivalent)

I'd like to schedule a command to run after reboot on a Linux box. I know how to do this so the command consistently runs after every reboot with a @reboot crontab entry, however I only want the ...
4
votes
3answers
292 views

How can I run a job when the server load is low?

I have a command that runs a disk snapshot (on EC2, freezing an XFS disk and running an EBS snapshot command), which is set to run on a regular schedule as a cron job. Ideally I would like to be able ...
1
vote
1answer
53 views

A tool to acquire tasks

I have several machines that I want to use them in the following way: There is a central queue of tasks/jobs(that i can define) on some machine, there are other machines that when are free of tasks ...
0
votes
2answers
198 views

Best way to schedule a task that is be excuted years later

What is the best way to schedule a task that is be executed years later? Like execute a script after 4 years. Is cron the best method for that?
8
votes
4answers
11k views

How do I schedule a reboot on Linux?

I'd like to be able to schedule a server reboot at a specific time, but not regularly. How can I do this without futzing with adding and removing cron entries?