Jump to content

Triger fireing python script


the_oliver

Recommended Posts

I know you can write triggers in python (and possibly PHP), so if the trigger language can execute scripts I don't see why not.  Of course the database user will need the proper execute permissions.

 

An alternative would be in your update trigger you set a modified_tm column or insert into a second table.  Then you can write a cron-task, or even a service, to monitor for changes and perform any sync operations you need performed.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.