Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to automate a backup job made with taper using cron. I'm having a lot of trouble making it work.
I've read the NHF about scheduling, the man pages and I can't find the failing cause of the job.
I'm using Red Hat 8, and I've tried putting the command line in the /etc/crontab file, using the crontab -e to add the job to my user's crontab file, manually editing the files as root, but the job refuses to start.
Any ideas will be greatly appreciated.
One more question: If I put something like
10 10 * * * echo Hello!
Where can I expect the output? Terminal Window, a file? Where?
Yes, you were right. Sendmail was not installed on the system, and therefore, I was not able to send messages to users. I managed to install it and I tested it successfully.
Somehow, I managed to start cron jobs, but I think it is behaving erratically, because sometimes the jobs start and sometimes not (because sometimes I receive messages in the root account and sometimes not).
I'm using RedHat 8, is there any way to ensure that the jobs are running?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.