Top "Cron" questions

Cron is a time-based job scheduler running as a daemon process in Unix-like computer operating systems.

Hourly rotation of files using logrotate?

I tried to set up a log rotation of logs files located at /tmp/hr_logs/. For setting up, I …

linux cron rhel logrotate
restart apache service automatically using cron 12AM daily

I have a CentOs setup in test server. I wanna to run a cron job (the cron needs to run …

apache cron centos6
Running two commands sequentially in a cron job?

I have two commands in a cron job like this: mysql -xxxxxx -pyyyyyyyyyyv -hlocalhost -e "call MyFunction1";wget -N http://…

cron sh
Cron Expression (Quartz) for a program to run every midnight at 12 am

What is the cron expression in Quartz Scheduler to run a program at 12 am every midnight GMT. I have never …

cron quartz-scheduler
Git auto-pull using cronjob

I was trying to create a cronjob with a task to do a git pull every minute to keep my …

git cron
Run a script on Windows startup without a user logged on

This is a Windows 2003 (or later) machine that gets switched on every morning, but no one logs on until some …

windows cron scheduled-tasks startup
Debugging crontab jobs

I have added a crontab entry on a Linux server that will run a Java executable. The Java code uses …

linux cron
Spring Scheduling - Cron expression for everyday at midnight not working?

I am trying to schedule a task in Spring which is to be run everyday at midnight. I followed the …

spring spring-boot cron spring-data-rest
How to instruct cron to execute a job every second week?

I would like to run a job through cron that will be executed every second Tuesday at given time of …

linux unix cron scheduling
Running a cron job 3 times (1 pm, 2 pm and 3 pm for example)?

I am not sure how to run a cron job at 3 specific hours every day. I want to run it …

cron