Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Setup cron jobs for vanilla using cpanel
UKguy
✭
Hello, what would be the recommendation for setting cron jobs for vanilla cms??? Is their a specific plugin for doing this? Why is there no cron job option for vanilla?
0
Comments
Cron job are best handled on the server level. Using user request to handle cron job is not a good strategy.
You don't necessarily want to load a whole framework, so I do framework driven cron jobs sparingly.
Other than maybe purging activity table, have no general advice.
Knowing what cron job to perform, are part of being a server admin.
Cpanel simply provides an interface to crontab.
grep is your friend.
Basically i want to setup a cron job for the discussion feeds plugin as it is not working very well and a cron i think would get it moving to a fully working plugin.
Well all you would need to do is use the comand
curl http://yourforum.com/plugin/feeddiscussions/checkfeeds
in your crontab entry.
grep is your friend.
thank you
This made it work as soon as i added the cron job thanks i set to twice daily
Good for you it works now, but a cron should not be needed and if the feeds did not update, feeddiscussions.js wasn't included properly.
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
Oh please explain more, i removed the cron and disabled the plugin as it was not working again stopped working for some reason
Are you using Cloudflare or other means of js caching/minification?
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
Hi, yes i disabled cf then enabled again as it was still not working so disable js caching / minification?
Yes, if it doesn't update, that means the feeddiscussion.js file is not included.
But since the cron job worked for you, just leave it like that.
This was more for the people who have the same problem and read this, a cronjob is usually not needed.
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
lol your fix just fixed another issue i had