GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Can someone help me with cron job formatting? (https://gfy.com/showthread.php?t=573793)

Jace 02-08-2006 06:15 PM

Can someone help me with cron job formatting?
 
I am trying to get this Cron Job to work, and I thought I had it and it ended up spitting out this error

GET: not found

here is the job:

Code:

GET http://www.siteurl.com/members/forum/mods/netclectic/find_input/includes/news_insert.php > /dev/null
is something wrong in that?

this is a phpbb mod that publishes RSS feeds as topics in the forum

devilspost 02-08-2006 06:27 PM

Link to MOD?

Jace 02-08-2006 06:36 PM

http://www.phpbb.com/phpBB/catdb.php...load&id=816665

ddfGandalf 02-08-2006 06:38 PM

I might be wrong on this one, but why not just simply

/usr/local/bin/php (or depending on your echo `which php`

absolutepathofyourphp/members/forum/mods/netclectic/find_input/includes/news_insert.php 2> /dev/null

If its local.
Otherwise wget it?

Jace 02-08-2006 06:41 PM

Quote:

Originally Posted by ddfGandalf
I might be wrong on this one, but why not just simply

/usr/local/bin/php (or depending on your echo `which php`

absolutepathofyourphp/members/forum/mods/netclectic/find_input/includes/news_insert.php 2> /dev/null

If its local.
Otherwise wget it?

'you lost me...i am not the most linux proficient

ddfGandalf 02-08-2006 06:42 PM

100646962 contact me :)

s9ann0 02-08-2006 06:46 PM

erm GET ?
try fetch or wget instead of GET

u lamer

Jace 02-08-2006 06:47 PM

shit, here is the mod, that other link is wrong

http://www.phpbb.com/phpBB/viewtopic.php?t=42364

everestcash 02-08-2006 06:49 PM

use wget better,
seems like you don't have the GET tool on your server.

com 02-08-2006 06:53 PM

first off how often does it need to run, to run every minute (assuming the script is on your local server you would put:
*/1 * * * /your/path/to/php /full/path/to/members/forum/mods/netclectic/find_input/includes/news_insert.php >/dev/null 2>&1


Otherwise, if it's on a foreign server, which wouldn't make sence make /your/path/to/php /your/path/to/curl or lynx

devilspost 02-08-2006 07:17 PM

It looks bad ass

> Does it make a RSS feed?
No, although there is a companion mod which does. See [BETA] FIND - Forum Integrated News Delivery - Output

> or is it to put an RSS feed onto a forum page?
Yes, kind of. It doesn't just display the feed on your page, it enters the contents as topics in your forums.


All times are GMT -7. The time now is 01:09 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123