Run Cron Job Every 15 Minutes in specific time and every day

CSM Media

I'am trying using cron job and want to run every day and every minutes from 07.00 AM until 07.00 PM i try this :

*/15 7-19 * * * /usr/local/bin/php /home/username/public_html/path/file.php

i got error like this :

"-":3: bad command
errors in crontab file, can't install.

just fetting error, please help me.

Yoda

You never posted your system details: uname -sr

Cron on some systems does not allow / and - construct. Remove existing and create below entry:-

15 7,8,10,11,12,13,14,15,16,17,18,19 * * * /usr/local/bin/php /home/username/public_html/path/file.php

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Problem with cron job which has to run every 15 minutes but not at 15,30,45

Configure cron job that is executing every 15 minutes on Hangfire

Run a cron job every 5 minutes between two times

How would I get a cron job to run every 30 minutes?

Run Cron job every N minutes plus offset

Run Cron job every 10 minutes between two hours

Run code every day at a specific time - AlarmManager

Run Cron every 2 minutes in 30 minutes?

Cron suddenly calls a script every 15 minutes

Getting a cron job to run every 30 minutes - using cron.hourly?

Cron running job every 15 seconds

UILocalNotification every working day / 15 minutes

CRON job for running every 20 day and on monday

Running a method every 15 minutes, every day, between certain times

Cron job every 5 minutes before 30 minutes

Run job every 10 minutes with Clockwork

Run Cron Every 15 minutes between 7am to 7 pm

Run Cron job at specific time

Can a cron job be set to run every hour at 5 minutes after the hour?

Run cron job every 2 minutes except the first minute "0" of the first hour "0"

Coldfusion 10 scheduled task cron time for every 15 minutes but only on Tuesdays

How to run a cron job to execute every minute?

Run a cron job on the first Monday of every month?

Run cron job every 5 min

Run a cron job every minute, meaning of syntax

CRON job that run every 130 seconds

Unable to make Airflow DAG run at a specific time every day

How to run a python function every day at specific time

How to constantly run Google Colaboratory at a specific time every day?