I can't set new cron job!

kamrava

New member
Joined
May 7, 2015
Messages
2
I'm trying to set a new Cronjob in DirectAdmin like so :

0,30 * * * * my_command
Run a my_command every 30 minutes.
But gets me following error :

You must use a number for the minute (0-59). You can only have a cron run once per day. (You can make more than one cron)
You must use a number for the hour (0-23). You can only have a cron run once per day. (You can make more than one cron)

Any helps would be appreciated.
 
Hello,

I guess it's more than clear, you are limited to have a cron which will run once per day:

Code:
30 1 * * * my_command

for example.

Are you a server owner or renter? Or you have a hosting account from a hosting company?
 
Hello,

I guess it's more than clear, you are limited to have a cron which will run once per day:

Code:
30 1 * * * my_command

for example.

Are you a server owner or renter? Or you have a hosting account from a hosting company?

I have my own VPS. Where can I drop this limitation?
 
Never seen this before as a standard option of directadmin.
What do you see in

Code:
ls -al /usr/local/directadmin/scripts/custom
?

Post here a screenshot of a page with your error, so we could see it.
 
Back
Top