• Welcome to WooUSEFUL by PHPVIBE . Please log in.

[ Video Sharing CMS v4 ] SCHEDULED TASKS into Alphabetic order

Started by korobert,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

korobertTopic starter

Hello

How can i set the records of SCHEDULED TASKS into Alphabetic order ?

How many is the maximum record in SCHEDULED TASK?

Thanks Robert
  •  

Bob.Weston

I would think you would have to edit the cron.php to display the results differently when it queries the database but am not sure..
  •  

Marius

I'm not really sure what you are asking...even if they are processed alphabetically in cron, the only thing that matters is the runtime period if is meet.
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

korobertTopic starter

NOT PROCESS!!!!

SCHEDULED TASK (cron) list alphabetic order

/moderator/?sk=edit-cron
where can i find this select and how can i set ASC ?
  •  

korobertTopic starter

I fond it!

I changed in cron.php

$crons = $db->get_results("select * from ".DB_PREFIX."crons order by cron_id DESC ".this_limit()."");

to

$crons = $db->get_results("select * from ".DB_PREFIX."crons order by cron_name ASC ".this_limit()."");



Thanks Robert

:) :) :)
  •  

Marius

Is simple to deduce the php files in admin:

/moderator/?sk=edit-cron

loads:

/moderator/edit-cron.php



But for the cron list is sk=crons / crons.php


line 19:
$crons = $db->get_results("select * from ".DB_PREFIX."crons order by cron_id DESC ".this_limit()."");



You can change order by cron_id to cron_name and DESC to ASC
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

korobertTopic starter

  •  

Similar topics (7)