-
Member
Reputation: 98
1 out of 1 members found this post helpful.
CRONTAB command in OSS by Citrix
Dear friends,
Everday I have to get CNAI dump at 4:00 AM.
How can I create scheduler BY CRONTAB
Can I use Citrix to create?
Please help me ASAP.
Many thanks.
-
Post Thanks - 1 Thanks
-
2020-04-10 10:45 PM
# ADS
Circuit advertisement
-
Member
Reputation: 58
Re: CRONTAB command in OSS by Citrix
Firstly check whether you have the access for the cron in the system, as it is usually disabled by the administrator.
If you have the access, you firstly prepare executable script which you want to schedule. Then either thorough VI or ed editor you can write it in crontab.
-
Post Thanks - 1 Thanks
-
Member
Reputation: 26
Re: CRONTAB command in OSS by Citrix
crontab -e => for editing scheduled cron
example: 00 04 * * * yourscript.sh>/directory/log/
crontab -l => for listing scheduled cron
crontab -r => for removing active cron
0 12,14,16 * * * = Run the script every day at 12:00, 14:00 and 16:00
30 13 * * 0 = Run the script every Sunday at 13:30
0 12,14,16 * * 6 = Run the script every Saturday at 12:00, 14:00 and 16:00.
0 0 1,15,20 * * = Run the script on the first, fifteenth and twentieth of every month
0 */3 * * * = Run the script every day from 3 to 3 hours: 00:00, 03:00, 06:00 etc.
-
Member
Reputation: 98
Re: CRONTAB command in OSS by Citrix
Hi friends,
Please show me which problem when I use command line: cnai export valid -i --output test.txt
Because CNAI dump is lack of infor.
Where can I check?
Bookmarks