Jump to content



Photo

2 Tabs, 1 On Schedule The Other, Not (How Do I Do This?)

scheduler howto

  • Please log in to reply
3 replies to this topic

#1 Ettienne

Ettienne

    Advanced Member

  • Members
  • PipPipPip
  • 38 posts
  • OS:Windows 8
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 30 August 2016 - 12:59 AM

Hello,

 

Say I have a compiled bot with 2 tabs. One is a scraper and the other a poster. I only want the scraper to be scheduled, the poster will run 24/7.

 

Now there's the Run bar and the "Run on Schedule" bar. As soon as I click "Run on schedule" on the first tab, the second tab's Run bars are greyed out and only give the option to pause or stop.

 

How can I do this without merging the 2 tabs? I mean, run 1 tab on schedule and the other one constantly?

 

Thanks in advance,

Ettienne



#2 stanf

stanf

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 549 posts
  • OS:Windows 10
  • Total Memory:3Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 31 August 2016 - 05:19 AM

I don't believe that you can.
I suggest either two separate bots or call the other bot by running a define command with a if/then test
That's just my opinion

#3 Brutal

Brutal

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 714 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 31 August 2016 - 06:22 AM

I'm with Stan... If you're running part of your program 24/7, then just use a define for the scrape portion and set it in a loop, then set a wait for however long you want it to wait between runs. You'll achieve your goal easily enough



#4 Ettienne

Ettienne

    Advanced Member

  • Members
  • PipPipPip
  • 38 posts
  • OS:Windows 8
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 01 September 2016 - 12:36 AM

Awesome, thanks for the responses guys, I'm sure I'll figure something out







Also tagged with one or more of these keywords: scheduler, howto

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users