PDA

View Full Version : Cron Jobs: (Resolved)


worldwidewars
01-09-2008, 06:34 PM
You need to install these crons into cPanel or whatever interface you have using the instructions in the Installation Manual.

*/5 * * * * curl http://worldwidewars.ulmb.com/cron_fivemins.php?code=957b433d1d860a1e880159633da a7e42
0 0 * * * curl http://worldwidewars.ulmb.com/cron_day.php?code=957b433d1d860a1e880159633daa7e42


what is this and where do i do it????

Tyler
01-09-2008, 06:37 PM
We do not offer cron jobs.
Just to let you know, we don't use cPanel... it is our own hand coded control panel.

worldwidewars
01-09-2008, 07:14 PM
We do not offer cron jobs.
Just to let you know, we don't use cPanel... it is our own hand coded control panel.


All the files need to be uploaded to your server except this file, install.txt and copying.txt.
If on a linux/unix server, chmod mysql.php and admin.news to 0777 with FTP or cPanel
Run installer.php. Fill in your DB details and admin details, making sure no other software is in the database you specify to use.
In cPanel, click on the Cron jobs icon. Select Advanced (Unix Style), and one by one, fill in the crons you were given by the installer. The values that you should put in each box are seperated by spaces, eg put all the text before the first space in the Minute box, then Hour, then Day, then Month, then Weekday, then finally Command. You will have to Commit Changes and select Advanced (Unix Style) after entering each one to make a new box appear for the next one. (If no cPanel and on a linux server with shell access, use the cron program to import these crons manually. If no cPanel and no linux with shell, you're a bit screwed and should consider changing servers)
NOTE TO non-Cpanel users: To import the cronjobs, copy all the cronjobs into a text file called crons.txt, upload it to your server, then run the shell command

crontab /path/to/crons.txt
, making sure to backup old crons first, as this overwrites any existing crons. Hope this helps.
Done installation, you may now log in with the username and password you specified on installation. Don't forget to change the login name (from admin panel) and password (from Preferences). It may also help to delete dbdata.sql and CHMOD mysql.php to something more secure (leave admin.news on 0777)


SO DOES THIS MEAN I CANT DO IT ON THIS HOST
IF I CAN PLEASE HELP ME

Victor01469
01-09-2008, 09:01 PM
I'm very sorry, but this will not work with ULMB; There's just no way, and certainly not any workarounds to it.

worldwidewars
01-10-2008, 02:37 PM
so does anyone know where i could do this
or a way around it

Victor01469
01-10-2008, 09:51 PM
so does anyone know where i could do this
or a way around it

I'm very sorry, but this will not work with ULMB; There's just no way, and certainly not any workarounds to it.

worldwidewars, what is it that you did not understand from my reply?

There are no workarounds to it, Cron Jobs will never exist for ULMB.