Hi guys,
I'm making a simple scheduler implementation, i'm importing 150 nodes from a remote xml, everything seems ok, all data were imported properly including the publish_on and the unpublish_on values, but there is a trouble, after run the cron just the firsts 34 nodes are published, the rest of them are set with the "publish on" field empty.
Weird things on all this :
- the scheduler's values in the database are set ok before run the cron.
- the unpublish_on value stay normal ( i suspect that this is because the date is set in the future so is not affected by the scheduler validation)
- the 34 of 150 nodes are correctly set to $node->status=1.
- the problem doesn't seems to be the import because all node datas are ok.
i'm creating the scheduler entry's this way :
$node->publish_on = $fechapublicar; //this is the date of today at 3:00 p.m
$node->unpublish_on = $fechadespublicar; // tomorrow at 3:00 p.m.
node_save($node);
Any ideas?
Do i need some other parameter to do the implementation of the scheduler ?
The scheduler module has some kind of restriction in the number of nodes to set as publish ?