1
vote
1answer
61 views

Difference between “crontab -e” & editing crontab file manually? [duplicate]

I noticed some people use "crontab -l" to view cronjobs and "crontab -e" to edit them. However there are also times where people manually modify "/etc/crontab" to view/add/remove cronjobs. Both ...
-1
votes
1answer
64 views

Cron and FTP daemons crashing randomly in RHEL

Not sure where to start in troubleshooting this. I'm not finding anything indicating an issue in ProFTP logs or in /var/log/messages. So I do apologize for not having more information to give. ...
-3
votes
2answers
162 views

crontab -e on Red Hat 4.1.2-48 [closed]

The following command on crontab does not work at all. 0 12 * * * mysqldump -hserverhpost -uuser -ppass db > /path/to/backu/$(date +%d-%m-%Y) I read extensively about this and i cannot see what ...
1
vote
1answer
383 views

Pause cronjobs for an account (WHM/cpanel)

Is it possible to stop all cronjobs for a particular cpanel user? The cronjobs should be resumable when required later. There are several hundred cronjobs running under this user. Only this user's ...
0
votes
1answer
333 views

Linux CentOs 2.6.18 Setting locale for cronjobs

I have the problem, that I am trying to automate some Informix database job via the crontab. The job runs fine when done via the command line or processed via the at queue, but not via the crontab. ...
1
vote
0answers
569 views

Apache randomly fails to restart (port 80 in use) .. Probably cron related?

So this started happening for no apparent reason on a RHEL5 server running Plesk 10. I woke up one morning to find all the sites hosted on this box were offline. I SSH'd in and restarted httpd - ...
0
votes
1answer
204 views

Can we list all possible reason for a cron job crashed or killed?

We have some cron jobs which cannot be dead otherise the consequence would be davastating. So we need to have an eye on the process and know exactly what cause the death of a job. So I would like to ...
5
votes
1answer
4k views

What's the difference between /etc/cron.d and /var/spool/cron?

The crontabs on RHEL seem to be duplicated in two places, /etc/cron.d, and /var/spool/cron. I've checked, and neither of these are simlinks to the other, and neither are any of the crons contained in ...
1
vote
1answer
423 views

How to configure cron to run jobs using specific timezone times

We have a system configured in local UK time - so its currently in BST and will be switching to GMT this coming weekend. There are some reports scheduled with cron that are for users in Hong Kong. ...
1
vote
1answer
154 views

Rysnc Dynamic Log File Name

I am setting up rsync cron to run every hour to sync up 2 servers. My question is how do I make the log file name that it is saving to in the format log_file-{Year}-{Month}-{Date}.log with the year, ...
2
votes
2answers
857 views

cron job that fired 8 times rather than once. Daylight saving issue?

We're running a Redhat server (2.6.33.3-85.fc13.x86_64) and experienced some odd behaviour with our cron setup. We're running an out-of-the-box installation of cron. We have a task that runs daily ...
0
votes
1answer
321 views

Why is crond listening on port 6550/tcp (fg-sysupdate)?

A friend is investigating break-ins on some of his servers, and he has noticed that on several of them (from very recent CentOS all the way back to one old ancient RHL 9) the crond process is ...
8
votes
4answers
9k views

How to change the time cron.daily is run in linux

I have a script in cron.daily that runs at a certain time every morning. I need to change the time that it is run. How do I change the time cron.daily runs the scripts?
58
votes
9answers
66k views

When does `cron.daily` run?

When do entries in cron.daily (and .weekly and .hourly) run, and is it configurable? I haven't found a definitive answer to this, and am hoping there is one. I'm running RHEL5 and CentOS 4, but for ...
2
votes
4answers
799 views

DD copy works at terminal but not by cron

On an RHEL5.4 system I setup a script to backup a drive with dd copy every night by cron. I spit the dd output into a log file and email. It is in /etc/crontab and /var/spool/cron/root when I ...
1
vote
4answers
710 views

Renaming cron files

Will renaming a cron file in /var/spool/cron/ mean that the contents of the cron file will not be executed anymore? Or will all files in /var/spool/cron/ be executed, no matter the name of the file.
1
vote
2answers
149 views

Convert user crons to system cron

I want to centralize a lot of crons to /etc/crontab. Now every user gots it own crons in /var/spool/cron, which is not maintaineble for me. I want to do this automated via a script, but the problem is ...