![]() ![]() Htag.Applying ROT13 to a piece of text merely requires examining its alphabetic characters and replacing each one by the letter 13 places further along in the alphabet, wrapping back to the beginning if necessary. Htag = document.querySelector('.green-h3') Let htag = document.querySelector('.green-h3') If then # SQLQUERY contains an empty string.Įcho "There have been no new documents added to the CMS in the last 7 days." > /root/bin/mailtextĬonst jobContainer = document.querySelector('.job-description') I mean:Įcho "TO:" $RECIPIENTS > /root/bin/mailtextĮcho "SUBJECT:" $SUBJECT $DATE > /root/bin/mailtextĮcho "SELECT name AS NAME,MIN(id) as ID,MIN(created_at) as CREATED,MIN(CONCAT(' as URL from pages WHERE deleted_at IS NULL AND name NOT LIKE 'AO%' AND name NOT LIKE 'KB%' AND name NOT LIKE 'Odoo%' AND name NOT LIKE 'WK%' AND draft=0 AND created_at > DATE_SUB(NOW(), INTERVAL 7 DAY) GROUP BY name \G" | mysql -u root -D bookstack > /root/bin/mailtextĬat /root/bin/mailtext | /usr/sbin/sendmail -tĭATE=$(date DATE_SUB(NOW(), INTERVAL 7 DAY) GROUP BY name \G" | mysql -u root -D bookstack)Įcho "FROM:" $SENDER > /root/bin/mailtext Was this a classic SingleEntityAuthorUsers relationship I would have build it as a ManyToMany item, but here it's different.Īuthor would probably contain two ManyToOne relations (one with the User entity and one with either the Document or the Video entity) plus the entity type field, but I really don't know how to code the "Document orVideo`" part. The problem is that I cannot understand how to build this in Doctrine.
0 Comments
Leave a Reply. |