Just used
function you-can-put-anything-here() { Drive.Files.emptyTrash(); }
then added trigger in google script with email alerts. set the trigger to 1 hour, and bam to work. to call emptyTrash to turn the Drive API ON in the Advanced Google Services and Drive APIs installed in the Google Developer Console. Save the file and it works without any problems. Thanks to Rivero for the guidance.
source share