We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Cron Job test? | Forum

Graham
Graham Mar 26 '15
still getting the cron job to be setup message tried several variations is there a way to test a cron job on godaddy
Graham
Graham Mar 27 '15
Can I make the assumption that if the cron job reminder has gone the cron job is working?
ben
ben Mar 27 '15
if working, cron job will send email every minute until you disable it

yes, you can
The Forum post is edited by ben Mar 27 '15
Graham
Graham Mar 27 '15
Is it suppose to send an email every minute? and if you disable it what was the point of it in the first place!
ben
ben Mar 27 '15
cron job send email to tell you that cron is running every minute, you can disable cron to send you email every minute and cron still running
Graham
Graham Mar 27 '15
Thank you ben that will help if i get it running
Graham
Graham Mar 27 '15
What is the username? my godaddy username? the one i use to login to godaddy


Graham
Graham Mar 27 '15
The cron job command i used (and got rid of the nag scren on oxwall) is this

/web/cgi-bin/php5 "$HOME/html/my/ow_cron/run.php"

by using the godaddy browse button to find the run.php

frequency is set to hourly

minute is set to x:05


Graham
Graham Mar 27 '15
hmmm got this email wonder what that means...


Set-Cookie: base_language_id=1; expires=Sun, 26-Apr-2015 21:00:02 GMT; path=/

Content-type: text/html


ok seem to be getting 1 email and hour

The Forum post is edited by Graham Mar 27 '15
Graham
Graham Mar 28 '15
I was actually thinking of creating a post with all the corrections I had to make to get it to work so the next poor sucker doesnt have to waste 4-5 hours
Graham
Graham Mar 28 '15

Quote from Chris_W
Quote from Graham What is the username? my godaddy username? the one i use to login to godaddy



Yes, that's right if you have shared hosting and cPanel.
Quote from Graham "$HOME/html/my/ow_cron/run.php"

Not sure about that path, not sure what the /my/ is about?  Godaddy must use some non standard directory structure. Normally it's /home/yourusername/public_html/   followed by whatever folder/addon domain you decided to install in.


It seems to be sending me regular emails on the hour so i guess its working 
Graham
Graham Mar 28 '15
did you figure out a setup for the ftp thingy on oxwall to work with godaddy?
ben
ben Mar 29 '15
cron setup full path to your php and full path to yur cron file. it can be vary on different hosting, ask your hosting for sure or use chris suggestion or find php path by yourself if you have ssh access. if working you'll get email or oxwall cron job reminder gone

im using cpanel before and there is no special setup for ftp with pureftp
Randal
Randal Mar 29 '15
Hi Graham,

Have you tried third party cron job service like https://www.easycron.com? It allows setting up cron jobs that run every minute.

ross Team
ross Mar 29 '15
Graham, if you troubles with cron configuration, please contact your hosting provider support team to assist you with the cron. Which command to use in particular. 

As you said you get the e-mail but it was received within an hour. This means that all notifications/updates  of the user activity/mass mailing will be received by your users within an hour, if you're fine with that, then leave it at that. 


As to the FTP problems you have, can you please provide more details on the issue?