@justoverclock said in Digitalocean step by step guide to nginx configuration:
i’m learning
And that’s the whole point of this site 🙂 If you don’t learn anything, you gain nothing.
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|restart
maybe :
@daily USERWHORUNCOMMAND cd /home/master/applications/blabla/public_html/ && /usr/bin/php flarum fof:sitemap:build
EDIT: Phenomlab is here
@Hari can you post the output of crontab -e
?
it’s taking me to a random new window. i have deleted the existing sitemap. currently, my server time is 18hr and i have set it to @daily
I will wait for a few hours and see if it creates a sitemap
it’s taking me to a random new window.
Can you elaborate on this ? Not sure I fully understand.
when i enter crontab -e
it is taking me to GNU some kind of editor.
anyway, i waited for 24hr now i can see @ daily
is working
Solved
very good
@Hari yes, correct, but that editor also has the configuration of the Cron task
@DownPW hi, i have recently migrated to Plesk could you help me set up cron job with the new command
old :
@daily cd /home/master/applications/jm/public_html/ && /usr/bin/php flarum fof:sitemap:build
the formula is
* * * * * /pathTOphp/php /pathTOflarum/flarum queue:work --stop-when-empty
my flarum path is
var/www/vhosts/domain.com/ask.domain.com
what would be the new cron job line?
@Hari said in help me configuring cron job for fof/sitemap - flarum:
cd /home/master/applications/jm/public_html/ && /usr/bin/php flarum fof:sitemap:build
this actually worked
/usr/bin/echo php flarum fof:sitemap:build
Solved
you are too fast