Menu
SuiteCRM Pull Request Party hosted by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: error on scheduled tasks

error on scheduled tasks 2 days 19 hours ago #85905

  • web_elinet
  • web_elinet's Avatar
  • Offline
  • Junior Member
  • Posts: 32
  • Thank you received: 2
  • Karma: 0
Good morning,
following the article for the Task scheduling (https://docs.suitecrm.com/developer/scheduled-tasks/) I created the 'Clean Meetings Scheduler' as an example.
The scheduling works perfectly and also the script that is executed.
The strange thing is that if I modify the code or even delete the custom/Extension/modules/Schedulers/Ext/ScheduledTasks/CleanMeetingsScheduler.php file every time I perform the Quick Repair and Rebuild operation it is restored as before the deletion or modification. How do I make changes persistent?

Thanks
The administrator has disabled public write access.

error on scheduled tasks 2 days 19 hours ago #85906

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 10170
  • Thank you received: 1526
  • Karma: 351
This is strange...

Keep an eye on the destination folder that QR & R is writing to, it should be somewhere under

custom/modules/Ext

Try to figure out what is wrong. Maybe if that folder doesn't have write permissions, it can't do a QR & R properly.

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.
The following user(s) said Thank You: Vellin_Boute

error on scheduled tasks 2 days 18 hours ago #85909

  • Vellin_Boute
  • Vellin_Boute's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Thank you. Your comment was quite helpful and easy to understand. I was looking for the answer on many forum but this was the simplest of all.
The administrator has disabled public write access.

error on scheduled tasks 2 days 18 hours ago #85911

  • web_elinet
  • web_elinet's Avatar
  • Offline
  • Junior Member
  • Posts: 32
  • Thank you received: 2
  • Karma: 0
Sorry, I found the mistake..
I was going to delete the file in an incorrect path:
/custom/modules/Schedulers/Ext/ScheduledTasks/

Instead of taking him out of:
/custom/Extension/modules/Schedulers/Ext/ScheduledTasks/

Then it was correctly recreated ;)
The administrator has disabled public write access.
Time to create page: 0.040 seconds
Powered by Kunena Forum