Insert WordPress page via external (cron) script?

You should be including this file:

    include( "/some/path/wordpress/wp-config.php" );

That’ll get you to where you can use the wp_insert_post() function.

If this is a multi-site blog, make sure to use the switch_to_blog() function first.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)