A cron job to fool the {NEW:XX} RT...

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Will
Posts: 55
Joined: Mon 9. Aug 2004, 05:30

A cron job to fool the {NEW:XX} RT...

Post by Will »

Hello people,

I need to create a cron job that once a month, it set an specific article as *modified lately* so it get into the {NEW:XX} replacement tag...

I think that creating a simple PHP that made an update in the article table and setting its TIMESTAMP to Now, it is done... But I'm just getting used to phpWCMS and I'm not sure if it is all or not...

TIA!
Will
girish
Posts: 7
Joined: Tue 16. Mar 2004, 02:52

Post by girish »

Yep, just create a script.

I believe you have to updated field "article_tstamp" inside the "phpwcms_article" table.
Post Reply