Hi I'm Yusuf, I'm a junior Computer Science student interested in Open Source, Software Development and Engineering
I’m looking for internship opportunities in Software development and engineering.
Actually i found the tool that get the job done (cron)
it's a time-based job scheduler
For example, you can run a backup of all your user accounts
with this command you add when editing the crontab
$crontab -e 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
It means that at 5 a.m every week your user accounts will be backupped
, If its not a command you can run a script
With providing script PATH that's it
like this for example accomplished with python code
#!usr/bin/env python3
from gi.repository import Notify
Notify.init("App Name")
Notify.Notification.new("Hi, Awesome").show()
cron
Actually i found the tool that get the job done (cron)
it's a time-based job scheduler
For example, you can run a backup of all your user accounts
with this command you add when editing the crontab
$
crontab -e
0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
It means that at 5 a.m every week your user accounts will be backupped
, If its not a command you can run a script
With providing script PATH that's it
like this for example accomplished with python code
add this with crontab -e
@reboot PATH_TO_FILE
consider reading the docs for more control !