Action working days / hours

Support / help / discussion forum for twitter bot
Post Reply
User avatar
martin@rootjazz
Site Admin
Posts: 21218
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Action working days / hours

Post by martin@rootjazz » Tue Jun 18, 2019 2:55 am

Now actions can have working hours (as well as the accounts).

Currently only specifiable from the PROCESSING tab right click > SET WORKING HOURS.

Actions will not start outside their working hours (and some actions may stop processing it out side their working hours).


https://rootjazz.com/twitterdub/updatetesting.html

Robertos
Posts: 31
Joined: Wed Nov 15, 2017 3:44 pm

Re: Action working days / hours

Post by Robertos » Tue Jun 18, 2019 10:22 pm

Was too excited when I saw the post title... downloaded and installed version v3.01164, but right click on action gives me this:

Image

I don't get it where is "Currently only specifiable from the PROCESSING tab right click > SET WORKING HOURS."

If you are on this already pls, pls add working DAYS as an option.

THX in advance

P.S.
pls add working DAYS as an option (Acc settings or action TAB I really don't care where you put it)

User avatar
martin@rootjazz
Site Admin
Posts: 21218
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Action working days / hours

Post by martin@rootjazz » Tue Jun 18, 2019 10:43 pm

errr let me check, maybe the update didn't get pulled in.

But the working hours is a working days hours setting

so you can set
monday: 7am to 7pm
tuesday 10pm to 11pm
wednesday: 4am to 11am

etc etc

User avatar
martin@rootjazz
Site Admin
Posts: 21218
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Action working days / hours

Post by martin@rootjazz » Tue Jun 18, 2019 10:54 pm

Robertos wrote:
Tue Jun 18, 2019 10:22 pm
Was too excited when I saw the post title...
fixed

item was hidden :oops:


https://rootjazz.com/twitterdub/updatetesting.html

Robertos
Posts: 31
Joined: Wed Nov 15, 2017 3:44 pm

Re: Action working days / hours

Post by Robertos » Wed Jun 19, 2019 12:42 am

v3.01264 right click on action and I get

Image

details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at LibBotControls.Forms.DailyWorkingTimes.‪‬‬‏‏‫‪​‬‬‬‏​‬​‎‫‫‏‪‮‫‮(DbWorkingTimes )
at LibBotControls.Forms.DailyWorkingTimes.set_DbWorking(DbWorkingTimes value)
at LibBotControls.controls.UcProcessing._2sTFkdxJjxKjLNiEVqibuvGtwhA(Object , EventArgs )
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3801.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Twitter
Assembly Version: 3.0.1.264
Win32 Version: 3.0.1.264
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/Twitter.exe
----------------------------------------
HBroWMgXzVqsvWKioaKxcZKgHaeCA
Assembly Version: 0.0.0.0
Win32 Version: 3.0.1.264
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/Twitter.exe
----------------------------------------
LibTwitter
Assembly Version: 1.0.1.8
Win32 Version: 1.0.1.8
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibTwitter.DLL
----------------------------------------
LibUtil
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibUtil.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3801.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
LibBotControls
Assembly Version: 2.0.0.3
Win32 Version: 2.0.0.3
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibBotControls.DLL
----------------------------------------
MGAArncODrppXhhMJJXrjxSbBjIl
Assembly Version: 0.0.0.0
Win32 Version: 2.0.0.3
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibBotControls.dll
----------------------------------------
SGfArMGhXChRpJbkNJrYECvwWgltA
Assembly Version: 0.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibUtil.dll
----------------------------------------
FJbCMSEtzFGaLjqdOKxfoINYKKYeA
Assembly Version: 0.0.0.0
Win32 Version: 1.0.1.8
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibTwitter.dll
----------------------------------------
LibDatabase
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibDatabase.DLL
----------------------------------------
LibProcessing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibProcessing.DLL
----------------------------------------
OhPOEFkZNOWEePcDByIrDhvQnTqD
Assembly Version: 0.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibDatabase.dll
----------------------------------------
fJSpvDIoPccUIsTXiPSbjTaRUWBh
Assembly Version: 0.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibProcessing.dll
----------------------------------------
LibHttpUtil
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibHttpUtil.DLL
----------------------------------------
PuLwhgLmRGEarnhStkZCevUecTnw
Assembly Version: 0.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibHttpUtil.dll
----------------------------------------
LibWinControls
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibWinControls.DLL
----------------------------------------
irzldRrvrQgDXLTYTrEnOVyXGwlo
Assembly Version: 0.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibWinControls.dll
----------------------------------------
LibCaptcha
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibCaptcha.DLL
----------------------------------------
NSZorUSLeqEFEsoSPZtIVVDzfWpP
Assembly Version: 0.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibCaptcha.dll
----------------------------------------
LibLicense
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibLicense.DLL
----------------------------------------
QiJkpgzWzOtTnzGWRFhAkemRIeQDb
Assembly Version: 0.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibLicense.dll
----------------------------------------
Newtonsoft.Json
Assembly Version: 12.0.0.0
Win32 Version: 12.0.1.22727
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/Newtonsoft.Json.DLL
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
BetterListViewExpress-net45
Assembly Version: 3.15.0.0
Win32 Version: 3.15.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/BetterListViewExpress-net45.DLL
----------------------------------------
ComponentFactory.Krypton.Toolkit
Assembly Version: 4.6.0.0
Win32 Version: 4.6.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/ComponentFactory.Krypton.Toolkit.DLL
----------------------------------------
?
Assembly Version: 0.0.0.0
Win32 Version: 3.15.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/BetterListViewExpress-net45.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
LibProxyScrape
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibProxyScrape.DLL
----------------------------------------
itYvlNBTJiVuXDiRiZTisffTMKNs
Assembly Version: 0.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibProxyScrape.dll
----------------------------------------
LibTwitterJsonData
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibTwitterJsonData.DLL
----------------------------------------
System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.Security
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
----------------------------------------
LibMailProcessing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Twitterdub/LibMailProcessing.DLL
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data.SqlXml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.SqlXml/v4.0_4.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
----------------------------------------
System.ComponentModel.DataAnnotations
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
----------------------------------------
System.Web.ApplicationServices
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Web.ApplicationServices/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.ApplicationServices.dll
----------------------------------------
System.Runtime.Caching
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Caching/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Caching.dll
----------------------------------------
Microsoft.Build.Framework
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.Build.Framework/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Framework.dll
----------------------------------------
System.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
System.Configuration.Install
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration.Install/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Drawing.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Robertos
Posts: 31
Joined: Wed Nov 15, 2017 3:44 pm

Re: Action working days / hours

Post by Robertos » Wed Jun 19, 2019 12:41 pm

Look like the error is thrown when trying to set working hours for actions made before updating, so simple redo action and delete old one work for me.
All fine :mrgreen:

User avatar
martin@rootjazz
Site Admin
Posts: 21218
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Action working days / hours

Post by martin@rootjazz » Wed Jun 19, 2019 3:18 pm

Robertos wrote:
Wed Jun 19, 2019 12:41 pm
Look like the error is thrown when trying to set working hours for actions made before updating, so simple redo action and delete old one work for me.
All fine :mrgreen:
Shouldn't make a difference. Tested here and works fine. Can you remember what kind of action was it? Maybe that has something to do with it

Robertos
Posts: 31
Joined: Wed Nov 15, 2017 3:44 pm

Re: Action working days / hours

Post by Robertos » Wed Jun 19, 2019 3:38 pm

Follow and unfollow actions. When trying to edit the working hour result was an error.

User avatar
martin@rootjazz
Site Admin
Posts: 21218
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Action working days / hours

Post by martin@rootjazz » Wed Jun 19, 2019 11:05 pm

strange, not a problem here.

I will add some debugging to future builds, so if it effects others we can get more info


Post Reply