I do not have previlage to use crontab -e to run my script. Is there other way to periodically run my script? Basically I need to run it once a week.
|
If you can't/don't want to keep a terminal open, you could run it in GNU Screen/tmux or with Examples:
or
Note: these commands will run See the projects' documentation for more info on attaching/detaching sessions. ( |
|||
|
|
If enabled and installed, you can use the Check out the But remember, it is not always installed/enabled on all Linux/UNIX systems. |
|||
|
The REAL answer to this is to contact your friendly neighborhood systems administrator, explain your problem, and ask them to enable cron access for you. You should explain how your program runs, its resource requirements, and generally make a promise that you will not harm the system if you get cron access privs. |
|||||||
|
|
Another approach would be to have a cronjob running on a different machine, that uses Just set up a cronjob on another machine that looks like e.g.
With the exception of the remote server being offline at the execution time, this would be reliable over remote server restarts and other things. |
|||
|
|