You can if you're using it in a cronjob, but you need to provide the full path for example /usr/bin/sed (you can find the location of it by SSHing into the server and typing which sed)
Are you running the scheduled task at the server level or domain level? Creating the task at the system level (Tools & Settings > Scheduled Tasks) gives you a bit more flexibility including which user should be acting as the executor.