crontab does not get the log in log file

I have batch program and i do get some data from one server and update the data in my database and i want to trigger my batch program for every 15 mins. For that i use the crontab concept, i just open the crontab with the command

crontab -e

//i add the command in that crontab

15 * * * * /usr/bin/java -jar xxxxxx.jar >> /var/log/cron.log

finally after that my batch program is not running and i did not get log in cron.log. whether it will automatically run the batch program or we have to trigger it

  • Error “python: not found” in Dockerized PHP application hosted on Elastic Beanstalk
  • Running an iPython notebook server on an EC2 Ubuntu instance via Docker
  • Isolate PHP versions on AWS EC2
  • Running a Docker container on AWS Elastic Beanstalk - Where is my web app?
  • Can't access docker image from EC2 server
  • Dockerfile Script for Amazon AWS
  • Jenkins and docker plugin: Problems to launch container
  • How to get the ip address of the docker host (which will be used in containers) from the host itself
  • Docker: How to use selenium server to do nightwatchJS test?
  • error with Installation of rpy2 on mac
  • Docker image wrapping for binary blobs
  • Profiling a C# dot net application running on a docker container
  • 2 Solutions collect form web for “crontab does not get the log in log file”

    The crontab isn’t running every 15 min; it’s running on the 15th of an hour. If you’d like it to run every 15 minutes of an hour, change the crontab to:

    0,15,30,45 * * * * /usr/bin/java -jar xxxxxx.jar >> /var/log/cron.log

    Your crontab entry will run the command at 15th minute of every hour. The command will run at 1:15, 2:15 and so on.

    To run the program every 15 minutes, please use the following line

    */15 * * * * /usr/bin/java -jar xxxxxx.jar > /var/log/cron.log

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.