No announcement yet. and Cron Job

  • Filter
  • Time
  • Show
Clear All
new posts

  • and Cron Job

    I hope this is in the right spot. Im trying to setup the included in the do_not_upload folder and set up a Cron job to automatically back it up for me.

    But Im truly lost on what I should be doing. Ive put the in my forums root directory and changed the path to my config.php thats in Core/Includes like I believed I should.

    Set the cron to run the shell file ./forums/

    and I keep getting this error:

    Warning: include(..././forums/ failed to open stream: No such file or directory in phar://.../vb/vb.phar/library/cron.php on line 50 Warning: include(): Failed opening '..././forums/' for inclusion (include_path='.:/usr/lib/php7.4') in phar://.../vb/vb.phar/library/cron.php on line 50
    Help or direction to where I can read/learn/fix?

    Greatly appreciated.
    Last edited by Robbob; Fri 18 Sep '20, 4:53pm.

  • #2 is a command line script and isn't meant to be run from vBulletin's Scheduled Task system. vBulletin Scheduled Tasks need to be written in PHP and placed in the [var]/core/includes/cron[/core] directory.. For security purposes, you should not place the file within your public_html directory.

    Normally, this is done from the command line interface using the crontab scheduler. Please see:

    If you use cPanel on your server you can configure this following these instructions:

    For Plesk see:

    For DirectAdmin see:
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API


    • #3
      Thank you for the help Wayne.


      Related Topics