Forum

[SOLVED] Make acces...
 
Notifications
Retirer tout

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

3 Posts
2 Utilisateurs
0 Reactions
3,181 Vu
(@angeltek)
Posts: 17
Active Member
Début du sujet
 
[#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?


 
Posté : 16 Août PM 20:088
(@babynus)
Posts: 14952
Membre Admin
 

Request recorded as Ticket #4157


 
Posté : 19 Août PM 16:088
(@angeltek)
Posts: 17
Active Member
Début du sujet
 

Cool =)


 
Posté : 19 Août PM 16:088
Share:
Retour en haut