Jump to content

How to limit Cron job execution


hostand

Recommended Posts

Are you running a control panel?

How was the cron set up in the first place?

 

Usually, if using something like Cpanel, you have a cron interface that allows for 2 different styles of setup: "standard" and "advanced". Advanced would show the times in that format, standard would show drop down boxes.

If LINUX and via shell, have a look in /etc/cron/username

 

If on Windows...I can't help. ;)

Link to comment
Share on other sites

Ah, then it's someone accessing the file, perhaps, as WHMCS doesn't set the cron to run from there, that's to show you what to try. ;)

 

Go to cpanel, look for cron jobs. Using "standard" add the first one "php -q", as a cron job, once daily. Midnight or 12:15 is a good bet. Save.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated