@DownPW https://sudonix.com/topic/331/how-to-install-a-self-hosted-instance-of-iframely-for-use-with-nodebb
help me configuring cron job for fof/sitemap - flarum
-
@hari said in help me configuring corn job for fof/sitemap - flarum:
that is really one easy and interesting website to understand corn jobs
Yes, super easy, and a good reference guide I’ve used for years
-
-
-
Old
*/2 * * * * cd /home/master/applications/jmzhcbrggs/public_html/ && /usr/bin/php flarum schedule:run >> /dev/null 2>&1 */1 * * * * cd /home/master/applications/jmzhcbrggs/public_html/ && /usr/bin/php flarum queue:work --stop-when-empty
new
*/2 * * * * cd /home/ask/public_html/ && /usr/bin/php flarum schedule:run >> /dev/null 2>&1 */1 * * * * cd /home/ask/public_html/ && /usr/bin/php flarum queue:work --stop-when-empty
are these correct for my Virtualmin environment?
-
@Hari Yep
-
@phenomlab am i entering correctly sorry for asking step to step i am not sure how many extensions i need to fix more for flarum
-
@Hari No, this isn’t correct. You need to enter it like the below (for example)
-
Failed to save cron job : The user 'schedule' is not allowed to access cron
now opening flarum schedule instructions
do i need to install these via ssh? or we already have corn?
got it i have to mention user name
-
@Hari Yes.
-
@phenomlab does these settings mean run for every one min?
when i am using like this its not running for every one minute
edit
- Solved
-
@Hari no, that setting means it will execute at one minute past each hour.
-
@phenomlab how to select 1min intervel?
-
@Hari you should select every single minute from 00 - 59
-
@phenomlab what does this setting mean? will it always runs?
@phenomlab said in help me configuring cron job for fof/sitemap - flarum:
you should select every single minute from 00 - 59
could you share one example setting for 2min
-
@Hari yes
-
@Hari said in help me configuring cron job for fof/sitemap - flarum:
could you share one example setting for 2min
If you want to select every two minutes, you need to select 00, 02, 04 etc until you reach 58
-
@phenomlab like this?
-
@Hari no. Select all for everything assist from minutes, then in the minutes section, hold the Ctrl key and use the mouse to select every even number, so 00, 02, 04, 06 etc up to 58
-
@phenomlab Now i understood will do it tomorrow.
-
This post is deleted!
-
when i set this cron job it is not running once a day, any suggestions?
@daily cd /home/master/applications/blabla/public_html/ && /usr/bin/php flarum fof:sitemap:build
-
What command do you do for create the cron ?
Task present in /etc/cron.daily ?
Result of crontab -l ?
/etc/init.d/cron start|stop|restartmaybe :
@daily USERWHORUNCOMMAND cd /home/master/applications/blabla/public_html/ && /usr/bin/php flarum fof:sitemap:buildEDIT: Phenomlab is here
Did this solution help you?
Related Topics
-
iFramely self host help
Solved Configure -
NodeBB Mess / Mongo DB
Solved Configure -
-
-
-
-
-