How do I change the "next time" a cronjob runs?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • z0diac
    Senior Member
    • Oct 2006
    • 444

    How do I change the "next time" a cronjob runs?

    Instead of "springing forward" 1hr in our time change today, my server decided to go to April, 2029. I run 3 different vB forums, 3.6.8, 3.7.4, 3.8.4

    All of the scheduled tasks in admin CP show the "next time" they'll be run, is in 2029 ! (see link for screenshot)

    How do I change this? I want to change it to say, tomorrow's date, but don't know where it's stored!

    [URL="http://img850.imageshack.us/img850/4417/tempts.jpg"]http://img850.imageshack.us/img850/4417/tempts.jpg[/URL="http://img850.imageshack.us/img850/4417/tempts.jpg"]
    Last edited by z0diac; Sun 10 Mar '13, 4:28pm.
  • z0diac
    Senior Member
    • Oct 2006
    • 444

    #2
    Ok, apparently going into AdminCP > Scheduled Tasks then just clicking "edit" each task then save, without changing anything on the task form, will reset the "Next time" date to whenever it should run beyond the current time. So since I've reset my server time to the correct time, each "next time" is showing correctly now. Hopefully it all runs ok!! (most are set to 3am or 4am so I wont' know until I wake up).

    It would still be nice to know where this "Next time" time/date is stored!

    Comment

    • Hartmut
      Senior Member
      • Nov 2007
      • 2870
      • 4.2.x

      #3
      This is stored in the table 'cron'. The next run is stored as a timestamp in 'nextrun'.
      No private support, only PM me when I ask for it. Support in the forums only.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...