[Unit] Description=Run foo weekly and on boot Requires=graphical-session.target [Timer] OnCalendar=hourly Persistent=true [Install] WantedBy=graphical-session.target