Jump to content

Recommended Posts

Posted

Hi,

running an app called webtareas that wants a bunch of crons added.. most are once per day or slower, but there is a bunch at a higher rate.

 

Could I get them added to my account - baradhil.heliohost.org - paths are of course assuming an isolated server

 

# run this job every Jan 1st
0 0 1 1 * cd /var/www/html/webtareas/scripts;php initial_workcalendar 2>&1 >> /var/log/webtareas.initial_workcalendar
# run these jobs every monday morning
0,30 20-23 * * 0 cd /var/www/html/webtareas/scripts;php noti_logtime 2>&1 >> /var/log/webtareas.noti_logtime
0,30 0-20 * * 1 cd /var/www/html/webtareas/scripts;php noti_logtime 2>&1 >> /var/log/webtareas.noti_logtime
0,30 20-23 * * 0 cd /var/www/html/webtareas/scripts;php noti_orphantask 2>&1 >> /var/log/webtareas.noti_orphantask
0,30 0-20 * * 1 cd /var/www/html/webtareas/scripts;php noti_orphantask 2>&1 >> /var/log/webtareas.noti_orphantask
# run these jobs every day
0 8 * * * cd /var/www/html/webtareas/scripts;php noti_todolist 2>&1 >> /var/log/webtareas.noti_todolist
0 0 * * * cd /var/www/html/webtareas/scripts;php autolockperiods 2>&1 >> /var/log/webtareas.autolockperiods
0 0 * * * cd /var/www/html/webtareas/scripts;php recurring_docs 2>&1 >> /var/log/webtareas.recurring_docs
# run these jobs hourly
0 * * * * cd /var/www/html/webtareas/scripts;php import_denyhosts 2>&1 >> /var/log/webtareas.import_denyhosts
# run these jobs every 5 minutes
*/5 * * * * cd /var/www/html/webtareas/scripts;php send_reminder 2>&1 >> /var/log/webtareas.send_reminder
 

Thanks

 

 

Posted

Those would far exceed our limit of 2 executions per day.

 

The software needs to be modified so they can be called through a browser by visiting them, then we can set up external crons that can do this for you. If that's not possible, you'll need to find different software.

Posted

I actually read through some of crons listed... Are you aware that your home directory is /home/baradhil/? A lot of your cron jobs try to execute scripts in /var/www/html/ which isn't something your account has access to.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...