Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Oct 2018, 09:49
BulliM's Avatar
BulliM BulliM is offline
 
Join Date: Oct 2017
Cron Job

I try to run an own cron job from /core/includes/cron, but I couldn't get it run.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I get no result and script aborts at last line. userfield contains all columns in array. No clue what the problem is.
Reply With Quote
  #2  
Old 14 Oct 2018, 12:00
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
Do you get any information about the abort?

You need to log and turn to next cron after your code. Look into the vB crons.
__________________
vBulletin-forum.de | Das deutschsprachige vBulletin 5 Forum! | Widgets, Mods und Anleitungen auf deutsch.
Team online, Latest Profile-Visitors, Disable-Postcount, Auto-close Threads, Latest Likes, Top-Posters PRO, New&Free: vB5 MemberMap
Reply With Quote
  #3  
Old 14 Oct 2018, 12:51
BulliM's Avatar
BulliM BulliM is offline
 
Join Date: Oct 2017
Nope. Logs are empty. I run cron jobs by script (vbcron.php). Other logs (error.log,access.log,mysql.log) don't show anything.

I log steps by file (step_1, step_2 ...) , to see, how far that script works. Before last line is all ok, but at that point it stops.

Last edited by BulliM; 14 Oct 2018 at 12:56.
Reply With Quote
  #4  
Old 14 Oct 2018, 13:43
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
At first, there is no userfield table declaration in core/vb/db... or I missed it.

You need to go to vBForum-package.

Try this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Or you could use fetchUserFields from core/vb/db... as assertQuery.
__________________
vBulletin-forum.de | Das deutschsprachige vBulletin 5 Forum! | Widgets, Mods und Anleitungen auf deutsch.
Team online, Latest Profile-Visitors, Disable-Postcount, Auto-close Threads, Latest Likes, Top-Posters PRO, New&Free: vB5 MemberMap
Reply With Quote
  #5  
Old 14 Oct 2018, 13:54
BulliM's Avatar
BulliM BulliM is offline
 
Join Date: Oct 2017
Danke delicious!

This works:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #6  
Old 17 Oct 2018, 10:01
rekha rekha is offline
 
Join Date: Jan 2012
nice codes
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Not tested] vB-Cron invoked by server cron Brad vBulletin 3.0 Beta Releases 6 25 Jul 2007 04:20



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 10:58.

Layout Options | Width: Wide Color: