hostand Posted February 12, 2009 Share Posted February 12, 2009 I keep getting emails about Cron job completion, atleast 5-10 times a day. How can i limit the cron job to run only daily once? 0 Quote Link to comment Share on other sites More sharing options...
Daniel Posted February 12, 2009 Share Posted February 12, 2009 Paste your cron line - you probably have it running more than once a day. 0 Quote Link to comment Share on other sites More sharing options...
hostand Posted February 12, 2009 Author Share Posted February 12, 2009 php -q /home/dvajja/public_html/billing/admin/cron.php GET 0 Quote Link to comment Share on other sites More sharing options...
bear Posted February 12, 2009 Share Posted February 12, 2009 We need to see how often that runs, so paste the rest of it (* * 12....). 0 Quote Link to comment Share on other sites More sharing options...
hostand Posted February 12, 2009 Author Share Posted February 12, 2009 thats all i have nothing else 0 Quote Link to comment Share on other sites More sharing options...
bear Posted February 12, 2009 Share Posted February 12, 2009 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. 0 Quote Link to comment Share on other sites More sharing options...
hostand Posted February 12, 2009 Author Share Posted February 12, 2009 I am assuming this is running just from WHMCS (Configuration-->Automation Settings). I didn't do anything special in cpanel 0 Quote Link to comment Share on other sites More sharing options...
bear Posted February 12, 2009 Share Posted February 12, 2009 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. 0 Quote Link to comment Share on other sites More sharing options...
hostand Posted February 12, 2009 Author Share Posted February 12, 2009 aha i will try that thx 0 Quote Link to comment Share on other sites More sharing options...
Daniel Posted February 13, 2009 Share Posted February 13, 2009 Also, rename your admin directory. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.