![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
cron Perl modify Notice in mysql
I have a cron job that executes a perl script that modifies one of my Notices's. However,
the changes are not reflected until I manually go into the notice manager and change something. I am seeing I need to update the datastore. //update the datastore notice cache if ($changes) { build_notice_datastore(); } Is there a way I can call this progmatically, or by modifying the notice cache directly? Thanks, Koz No members have liked this post.
|
|
#2
|
||||
|
||||
|
Just run the rebuild function:
__________________
Ted & the Giftery.me Team New features released for Product Review Forums 1.3 (4.0) Helpful Answers (3.8) (4.0) | Limited Guest Viewing (3.8) (4.0) No members have liked this post.
|
||||
|
#3
|
|||
|
|||
|
I can issue the rebuild comand, but the data is still old.
EDIT: I see I have to rebuild the languages.. I added : build_language(-1); and its throwing this error: Fatal error: Call to undefined function fetch_js_safe_string() require_once(DIR . '/includes/adminfunctions_notice.php'); build_notice_datastore(); require_once(DIR . '/includes/adminfunctions_language.php'); build_language(-1); Edit again: I figured it out...needed to include fetch_js_safe_string include. Thanks, Koz No members have liked this post.
Last edited by KozmoK : 29 Dec 2009 at 04:15. |
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 13:32.


