Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] Make acces...
 
Notifications
Clear all

[SOLVED] Make access via API restart Projeqtor's cron process

3 Posts
2 Users
0 Reactions
3,217 Views
(@angeltek)
Posts: 20
Active Member
Topic starter
 
[#6195]

Hi,

Following on from my earlier posts, it occurred to me that I could use a script called from Linux cron to periodically connect via Projeqtor's API in order to ensure that its internal cron process is running. I successfully got some scripts to read and update Projeqtor objects, but alas this did not restart the internal cron process. That's a pity as the API provides an easy way for external scripts to authenticate and interact with Projeqtor.

Would it be possible for you to add a call to Cron::relaunch() within the api handler?


 
Posted : 16 Aug 2019 20H49
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Request recorded as Ticket #4157


 
Posted : 19 Aug 2019 16H56
(@angeltek)
Posts: 20
Active Member
Topic starter
 

Cool =)


 
Posted : 19 Aug 2019 16H59
Share:

Scroll to Top