Solved.
Make a backup of your server, run:
service apache2 stop (if you're usinge apache)
service apache2 start
run the froxlor cronjob, if the error 500 continues, restart your server:
sudo reboot
login to your panel as admin, follow the instructions. run froxlor's cronjob.