How Cron Works
This is the grand for everything Cron.php does. Including Autoban.php, fixcps.php and every other php file in the cron folder.
Last updated
This is the grand for everything Cron.php does. Including Autoban.php, fixcps.php and every other php file in the cron folder.
Last updated
Cron.php is the main file that is in the folder. it runs every other php file in result running all of the php files in the folder simultaneously.
Since i already coversed it in a different post, i will just link you there.
It really only fixes the username in the accounts section in the sql server to the usernames in the user section.
This file updates the amunt of levels use the song in the sql server. There isnt much else to say about this one.
this is one of the longer ones.
it first of all checks if there is a log file in the tools directory. if there is, it will check when it was created and see if was before the cooldown end. if it does the code will exit saying:
were finally done with Fix CP.
if the cooldown expired already, it include the connection.php file and start getting the users.
the code will now check the levels to see if the level has IsCPShared = 1 if its a yes, it will give both users a creator point each, also dependent if the level is star, featured or epiced.
the code at this part is going to slelect the ID's from daily features and will give the creator of the level some creator points.
the code finally finishes calculating everything and will give all of the users the specified creator point the code calculated.
simply removes invalid users, songs, fixes invalid passwords and removes songs with nonsensical URL's. Although no mention of deleting blank level as to the name.
Simply updates the friends leaderboard for people.